gmtime
Example: gmtime | Date and Time Functions |
Converts the system time into Coordinated Universal Time (UTC).
struct tm *gmtime( const time_t *calTime);
calTime | The value for the calendar time. |
Under Linux, gmtime is not thread-safe. Use gmtime_r, instead. Refer to your platform-specific documentation for details.
Return Values
A pointer to a tm structure.