SYS_LDATE

ScriptEigener Objekttyp in der Automation Engine Function: Returns the logical date.

Syntax

SYS_LDATE([Date Format])

Syntax

Description/Format

Date Format

Format for the retrieved date.
Format: script literal or script variable.


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 !Process tabs of events does not supply the logical but the CURRENT date. 

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

CONV_DATE

Converts a date from one date format to another.

DIFF_DATE

Determines the difference between two date entries in days.

SYS_DATE

Returns the current date at the beginning of the script processing.

SYS_DATE_PHYSICAL

Returns the current date.

Script Elements - Date and Time

Date, Time and Period Formats

About Scripts
Script Elements - Alphabetical Listing

Script Elements - Ordered by Function