Available for: Content Management Server, Template Engine
Task: Interprets the input value as a date and returns the corresponding 14-digit date string. Date and time are converted to GMT from the server time zone.
Additional information: The
userManagement.preferences.timeZone configuration value is used as the
server time zone. If date entries are ambiguous, the
preferences.dateTimeInputFormatName configuration value will be used
to interpret them.
Syntax:
systemConfig parseInputDate inputDate
Function parameters:
-
dateis the input date to be interpreted.
Return value if successful: The date as a 14-digit string.
Necessary permissions (CM only): none
Example:
CM>systemConfig parseInputDate {15.1.2000 19:00 MET}
20000115180000