SYS_LDATE
Script Function: Returns the logical date.
Syntax
SYS_LDATE ([Date Format])
Syntax |
Description/Format |
---|---|
Date Format |
Format for the retrieved date. |
Return code |
---|
The logical date in the specified format |
Comments
A logical date may be specified for the execution of tasks. This script function then retrieves it.
Date Format is optional. It is used to determine the format in which the function should return values. If you do not specify Date Format, the default format "YYMMDD" is used.
Keep in mind that this script function used in tabs of events does not supply the logical but the CURRENT date. See Process Pages.
Example
The example shown below retrieves the logical date in the format "MM/DD/YYYY".
:SET &LDATE# = SYS_LDATE("MM/DD/YYYY")
See also:
Script element | Description |
---|---|
Converts a date from one date format to another. | |
Determines the difference between two date entries in days. |
|
Returns the current date at the beginning of the script processing. |
|
Returns the current date. |
Script Elements - Date and Time
About Scripts
Script Elements - Alphabetical Listing
Script Elements - Ordered by Function