Converts a time value to a structure.
void convert_time_to_tm( time_t * pTime, TM * pTM )
EX1
void convert_time_to_tm_ex1() { TM tm1; time_t ltime; _tzset(); // Get UNIX-style time and display as number and string. time( <ime ); convert_time_to_tm(<ime, &tm1 ); printf( "Coordinated universal time:\t\t%s", asctime( &tm1 ) ); }
gmtime, TM, time, asctime
origin.h