ELDate_Consol (Function)
The ELDate_Consol function translates a YYYYMMDD date to EasyLanguage format (YYYMMDD).
Syntax
ELDate_Consol(YYYYMMDD)
Returns (Integer)
A date in EasyLanguage format.
Parameters
|
Name |
Type |
Description |
|
YYYYMMDD |
Numeric |
Sets a YYYYMMDD date to be translated. Enter 20060714 for July, 14, 2006. |
Remarks
The value for YYYYMMDD should always be a whole number representing valid calendar dates containing a 4-digit year, 2-digit month, and 2-digit day..
For example, in EasyLanguage format, 1020704 = July 4th, 2002, or 991225 = December 25, 1999, where the year is represented as 103 for 2003, 102 for 2002, 101 for 2001, 100 for 2000, 99 for 1999, and so on.
The reserved words date and CurrentDate return numeric date values in this same EasyLanguage format (YYYYMMDD).
Example
Assigns to Value1 the numeric EasyLanguage date of 1020704 from the input date 20020704 (July, 4th, 2002).
Value1 = ELDate_Consol(20020704);