z/OS ISPF Reference Summary
Previous topic | Next topic | Contents | Contact z/OS | Library | PDF


Time and date

z/OS ISPF Reference Summary
SC19-3624-00

Table 1. System variables: Time and date
Name Pool Type Len Description
ZDATE shr non   8 Current date. The format of ZDATE depends on the current national language (see ZDATEF and ZDATEFD).
ZDATEF shr non   8 Current national language date format using the characters DD for day, MM for month, and YY for year. ZDATEF contains the national language delimiter. For example, DD/MM/YY, YY/MM/DD, MM.DD.YY. For countries that use a delimiter other than a slash (/), that delimiter replaces the slash in the date representation.
ZDATEFD shr non   8 The date format as described under ZDATEF but with the national language convention instead of DD, MM, and YY.
ZDATESTD shr non   8 Current date with a 4-digit year (YYYY/MM/DD). The format of ZDATESTD depends on the current national language (see ZDATEF and ZDATEFD).
ZDAYOFWK shr non   8 The name of the day of the week.
ZDAY shr non   2 Day of month (2 characters)
ZJDATE shr non   6 Day-of-year date (format yy.ddd)
ZJ4DATE shr non   8 Day-of-year date (format yyyy.ddd)
ZMONTH shr non   2 Month of year (2 characters)
ZSTDYEAR shr non   4 All 4 digits of the current year (4 characters).
ZTIME shr non   5 Time of day (format hh:mm)
ZTIMEL shr non   Time of day (format hh:mm:ss:TQ —where T is tenths of a second, and Q is hundredths)
ZYEAR shr non   2 Year (2 characters)

The current date is displayed in the appropriate format for the session language, where DD=DAY, MM=MONTH, and YY=YEAR. For countries that use a delimiter other than a slash (/), that delimiter replaces the slash in the date representation.

Go to the previous page Go to the next page




Copyright IBM Corporation 1990, 2014