TIME_T Data Structure

[ return to article ]

The TIME_T data structure contains one subfield. It is included in the TIME /COPY source member.

.....DName+++++++++++EUDS.......Length+TDc.Functions++++++++++++++++++++++++++++
     D int4            S             10i 0
     D time_t          DS                  
     D  tm_seconds                         Like(int4)

The TIME_T data structure contains one 4-byte integer subfield. To get a date, only fields 4 through 6 need to be something other than zero. The table below documents each of the TM data structure's subfields.

Type Subfield Description
10i0 (int) tm_seconds number of seconds since based date.