libplist  2.7.0
API Documentation - Return to Homepage

◆ plist_get_unix_date_val()

PLIST_API void plist_get_unix_date_val ( plist_t  node,
int64_t *  sec 
)

Get the value of a PLIST_DATE node.

This function does nothing if node is not of type PLIST_DATE

Parameters
nodethe node
seca pointer to an int64_t variable. Represents the number of seconds since 01/01/1970 (UNIX timestamp).