Share this page

# 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.

Tips to improve your search results... VuGen Function Reference Version 25.1-25.3 Function Reference 25.1-25.3 All View Local Help Center View Online Help Center Version: