up: programming - C - time relatedprev: programming - c - difftimenext: programming - C - localtime
programming - C - function gmtimeWhat links here?
struct tm * gmtime ( const time_t * timer );
Convert time_t to tm as UTC time

Uses the value pointed by timer to fill a tm structure with the values that represent the corresponding time, expressed as UTC (or GMT timezone).



Parameters



Return Value

A pointer to a tm structure with the time information filled in. This structure is statically allocated and shared by the functions gmtime and localtime. Each time either one of these functions is called the contents of this structure is overwritten.

www.cplusplus.com
programming - C - function gmtime
programming - C - function rewind
programming - C - function _makepath
programming:windows:WM_NCCALCSIZE
programming - C - function putc(int char, FILE* stream)
filename:programming - C - function gmtime
filename:programming%20%2D%20C%20%2D%20function%20gmtime
last edit:October 19 2009 21:37:04 (5750 days ago)
ct = 1752884265.000000 = July 18 2025 20:17:45
ft = 1256002624.000000 = October 19 2009 21:37:04
dt = 496881641.000000