Previous topic |
Next topic |
Contents |
Contact z/OS |
Library |
PDF
gsk_mktime() z/OS Cryptographic Services System SSL Programming SC14-7495-00 |
|
Converts year/month/day time value to number of seconds since the POSIX epoch Format
Parameters
ResultsThe return value is the number of seconds since January 1, 1970. Leap seconds are not included in the computation. UsageThe gsk_mktime() routine converts the time specified in year/month/day format to the number of seconds since the POSIX epoch (January 1, 1970). The gsk_mktime() routine differs from the mktime() routine in that the time is UTC and is not adjusted for the local timezone or for daylight savings time. The year value must be between 1970 and 2106 and is the actual year minus 1900, so tm_year must be between 70 and 206, tm_mon must be between 0 and 11, tm_mday must be between 1 and 31, tm_hour must be between 0 and 23, tm_min must be between 0 and 59, and tm_sec must be between 0 and 59. |
Copyright IBM Corporation 1990, 2014
|