# Include <stdio. h>
# Include <time. h>
Void main ()
{
Long T;
Time_t S;
Int I;
Short E;
Struct TM * PTM;
E = I = T = Time (null );
PTM = gmtime (& T); // get the address, that is, the parameter is a pointer
Printf ("the return value of time long is: % LD/N", t );
Printf ("the return value of time Int Is: % d/N", I );
Printf ("the return value of time is: % d/N", e );
Printf ("seconds (tm_sec): % d/N", PTM-> tm_sec );
Printf ("minute (tm_min): % d/N", PTM-> tm_min );
Printf ("hour (tm_hour): % d/N", PTM-> tm_hour );
Printf ("Day (tm_mday): % d/N", PTM-> tm_mday );
Printf ("month (tm_mon): 1 + % d/N", PTM-> tm_mon );
Printf ("Year (tm_year): 1900 + % d/N", PTM-> tm_year );
Printf ("Week (tm_wday): % d/N", PTM-> tm_wday );
Printf ("days (tm_yday: % d/N", PTM-> tm_yday );
Printf ("Daylight Saving sign (tm_isdst): % d/N", PTM-> tm_isdst );
S = mktime (PTM); // get the address, that is, the pointer
Printf ("the return value of time is long: % LD/N", S );
}