In addition to the built-in functions date and time, ESL provides a Date Library (DATELIB.INC) containing the following date and time functions. Be sure to specify include "datelib.inc" before you use any of the functions.
Function Name |
Operation |
DateToJulian( ) |
Convert a Gregorian date to a Julian date. |
DaySpan( ) |
Return the number of days between two dates. |
JulianToDate( ) |
Convert a Julian date to a Gregorian date. |
LocalDate( ) |
Return a string representation of the current date. |
LocalTime( ) |
Return a string representation of the current time. |
Validdate( ) |
Return a boolean value that tells whether a given date is valid. |
WeekDay( ) |
Return a string containing the day of the week corresponding to a specified date. |