Datetime formatting (system words)
Each datetime formatting system function returns a date, time, or timestamp value as a character string.
System word Description sysLib.formatDate formatDate (dateItem [, characterDateFormat])Formats a parameter into a date value and returns a character string. sysLib.formatTime formatTime (timeItem [, characterTimeFormat])Formats a parameter into a time value and returns a character string. sysLib.formatTimeStamp formatTimeStamp (timeStampItem [, timeStampFormat])Formats a parameter into a timestamp value and returns a character string. Use the DateFormat, TimeFormat and TimeStampFormat properties on form fields and page handler items to specify date, time and timeStamp formatting on pages and forms.