Current variables

The current variables represent the current date and time.

Note: The variables unique to Workload Automation Programming Language, if any, are highlighted in bold.Name
Table 1. Current variables
Description
CCC Current century in YY format.
CDAY Current day of the week; 1 corresponds to Monday, 7 corresponds to Sunday.
CDD Current day of month in DD format.
CDDD Day number in the current year.
CDDMMYY Current date in DDMMYY format.
CHH Current time in HH format.
CHHMM Current hour and minute in HHMM format.
CHHMMSS Current hour, minute, and second in HHMMSS format.
CHHMMSSX Current hour, minute, second, and hundredths of seconds in HHMMSSXX format.
CMIN Current minute in MM format.
CMM Current month in MM format.
CMMYY Current month in MM format.
CSS Current second in SS format.
CYMD Current date in YYYYMMDD format.
CYY Current year in YY format.
CYYDDD Current Julian date in YYDDD format.
CYYMM Current month within year in YYMM format.
CYYMMDD Current date in YYMMDD format.
CYYYY Current year in YYYY format, for example, 1997.
CYYYYMM Current month within year in YYYYMM format.
CXX Current hundredths of a second in XX format.