libplist  2.8.0
API Documentation - Return to Homepage

◆ plist_set_unix_date_val()

PLIST_API void plist_set_unix_date_val ( plist_t node,
int64_t sec )

Set the value of a node.

Forces type of node to PLIST_DATE

Parameters
nodethe node
secthe number of seconds since 01/01/1970 (UNIX timestamp)