Returns the day of the week based on GMT.
&ZGDAY provides a system variable for the day of the week, based on GMT, in the form DDD, where DDD is set to one of the following values:
Monday
Tuesday
Wednesday
Thursday
Friday
Saturday
Sunday
Example: &ZGDAY
&IF &ZGDAY EQ SUN &THEN -EXEC SUNDAY
&ELSE +
-EXEC EVERYDAY
Notes:
The current date, based on the operating system time, is provided in different formats by the system variables &DATE1 to &DATE17.
The current date, based on GMT time, is provided in different formats by the system variables &ZGDATE1 to &ZGDATE17.
| Copyright © 2009 CA. All rights reserved. |
|