DateToJulian (Reserved Word)

image\trumpet2.gif Disclaimer

This reserved word returns a numeric expression representing the Julian Date equivalent to the specified EasyLanguage date.

DateToJulian(cDate);

Where cDate is a numeric expression representing the EasyLanguage calendar date (YYYMMDD format, 1999 = 99, 2001 = 101).

Remarks

If a specific date is entered for the numeric expression, it must be a valid date between January 1, 1900 and February 28, 2150, expressed in YYMMDD or YYYMMDD format.

Examples

DateToJulian(1231025) returns a value of 45224 for the date October 25, 2023.

DateToJulian(991024) returns a value of 36457 for the date October 24, 1999.