Function silc_time_universal
SYNOPSIS
SilcBool silc_time_universal(const char *universal_time,
SilcTime ret_time);
DESCRIPTION
Returns time and date as SilcTime from `universal_time' string which
format is "YYMMDDhhmmssZ", where YY is year, MM is month, DD is day,
hh is hour, mm is minutes, ss is seconds and Z is timezone, which
by default is Zulu (UTC). Universal time is defined in ISO/EIC 8824-1.
Returns FALSE on error, TRUE otherwise.
EXAMPLE
SilcTimeStruct ret_time;
time is 03/02/19 19:04:03 Zulu (UTC)
silc_time_universal("030219190403Z", &ret_time);
|