Please enable JavaScript to view this site.

ESL Documentation

Navigation: ESL Documentation > ESL Internationalisation > Date and Time Formats

Date and Time Functions in Local Formats

Scroll Prev Top Next More

Two DATELIB functions are available for accessing the date and time in the preferred local format.

LocalDate( ) and LocalTime( ) return strings formatted according to the user's preference specified in the Regional and Language options in the Windows Control Panel.

Note that the built-in functions date and time always return their values in the same format, no matter what the international settings are. These functions are useful when using date and time information inside a program.