Returns tomorrow's date in the format requested.
Syntax:
►►─┬─ TOMORROW ───┬─ ('output-date-format') ──────────────────────────────────►◄
└─ TOMMORROWX ─┘
Invocation names:
TOMORROW TOMORROWX
Parameters:
Invokes the tomorrow function. TOMORROWX returns a date that contains the century portion of the year.
Specifies the output date format. Output-date-format can be:
Examples:
Example 1
In the example below, the tomorrow function is used to display tomorrow's date in the calendar format (where today is March 17, 1996):
Statement:
compute sys-date = tomorrow('c')
Returned value: 031896
Example 2
In the example below, the tomorrowx function is used to display tomorrow's date in the calendar format (where today is March 17, 1996). The returned date contains the century portion of the year:
Statement:
compute sys-date = tomorrowx('c')
Returned value: 03181996
Note: In the example above, SYS-DATE must contain the century portion of the year.
|
Copyright © 2013 CA.
All rights reserved.
|
|