Fanuc C-Executer Operating Manual
B-62443EN-3/03E
- 237 -
------------------------------------------------------------------------------
9.6 Convert time to Greenwich mean time. <Main,Alarm,Comm>
------------------------------------------------------------------------------
[Name]
gmtime
[Syntax]
#include <time.h>
struct tm *gmtime( const time_t *timer ) ;
[Arguments]
timer Pointer to a timer.
[Return]
Returns a pointer to a converted structure "tm".
[Description]
Converts a timer pointed by "*timer" to a structure "tm" which
represents the Greenwich Mean Time. The second from 1/1/1970 00:00:00
is stored in "*timer". This value is usually the return value of
"time" function. The static buffer for the structure "tm" is shared
by "localtime" function.