Previous Topic: &ZGOPS

Next Topic: &ZGTIMEZn


&ZGTIMEn

A set of system variables that return the time, in different formats, based on GMT.

&ZGTIME, &ZGTIME1, &ZGTIME2, &ZGTIME3, &ZGTIME10 and &ZGTIME11 are system variables that supply the time, based on GMT, in a variety of formats. &ZGTIME time as HH.MM.SS

&ZGTIME1

time as HH:MM:SS

&ZGTIME2

time as HH:MM:SS:TH

&ZGTIME3

time as nnnnn-an integer being hundredths of a second since midnight

&ZGTIME10

time as HHMMSS

&ZGTIME11

time as HHMMSS.FFFFFF

Example: &ZGTIME2

&FILETIME = &ZGTIME2

Note: Each access to &ZGTIME11 causes the system to re-fetch and synchronize time with the operating system, to format the result to microsecond accuracy. Use of this time should be avoided, to reduce unnecessary overheads, if such accuracy is not required.

More information:

&TIME

&ZTIMEn

&ZGTIMEZn