Date abbreviations and the corresponding values that are returned to the calling procedure by CAS are summarized in the table below. All dates are returned in DD-MMM-YYYY format.
|
Abbreviation |
Returns |
|---|---|
|
= |
Today's date. |
|
+d |
Today's date + d days. |
|
-d |
Today's date - d days. |
|
d |
The dth day of the current month and year. |
|
dd |
The ddth day of the current month and year. |
|
ddd |
The dddth Julian day of the current year. |
|
ddmm or mmdd |
The ddth day of the mmth month of the current year (order depends on national language code). |
|
yyddd |
The dddth Julian day of the year yy. |
|
yy.ddd |
The dddth Julian day of the year yy. |
|
ddmmyy or mmddyy |
The specified date (order depends on national language code). |
|
dd/mm/yy or mm/dd/yy |
The specified date (order depends on national language code). If dd or mm or yy are omitted, then they default to the current day, month or year (for example, entering //96 on the 3rd January 1992 returns 03-JAN-1996). |
|
day-of-week |
The date of day-of-week (MON/TUE/WED/THU/FRI/SAT/SUN) in the current week. |
|
+day-of-week |
The date of day-of-week in the following week. |
|
-day-of-week |
The date of day-of-week in the previous week. |