DateTimeToISO
Mon 01 January 2018Syntax
DateTimeToISO(textdatetime)
Description
Use the DatetimeToISO function to convert the text value textdatetime (as a base time zone time) to a DateTime value in ISO 8601 format. This function automatically calculates whether daylight saving time is in effect for the given textdatetime.
The systemâs base time zone is specified in the PSOPTIONS table.
Parameters
Field or Control |
Definition |
---|---|
textdatetime |
Specify a date/time represented as text in the ISO 8601 format: YYYY - MM - DD T hh : mm : ss [ . S ] (for example, 1999-01-01T19:20:30.000000) In which:
|
Returns
Returns a DateTime value in ISO 8601 format.