$ZDAteform

$ZDA[TEFORM] contains an integer value, specifying the output year format of $ZDATE(). $ZDATEFORM can be modified using the SET command. GT.M initializes $ZDATEFORM to the translation of the environment variable gtm_zdate_form. If gtm_zdate_form is not defined, GT.M initializes $ZDATEFORM to zero (0).

See “$ZDate()” for the usage of $ZDATEFORM. $ZDATEFORM also defines the behavior of some date and time utility routines; refer "M utility Routines".

Example:

GTM>WRITE $ZDATEFROM
0
GTM>WRITE $ZDATE($H)
11/15/02
GTM>SET $ZDATEFORM=1
GTM>WRITE $ZDATE($H)
11/15/2002