Previous Topic: &ZUDATEn

Next Topic: &ZUNIQUE


&ZUDAY

Returns the user's day of the week, time zone adjusted.

&ZUDAY provides a system variable for the user's day of the week, time zone adjusted. It is in the form DDD, where DDD is set to one of the following values:

MON

Monday

TUE

Tuesday

WED

Wednesday

THU

Thursday

FRI

Friday

SAT

Saturday

SUN

Sunday

Example: &ZUDAY

&IF &ZUDAY 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, is provided in different formats by the system variables &ZGDATE1 to &ZGDATE17.

The user's current date, time zone adjusted, is provided in different formats by the system variables &ZUDATE1 to &ZUDATE17.

More information:

&DAY

&ZGDAY