Get Current Date and Time function

The Get Current Date and Time function returns the current date and time as a specific XML Schema data type.

The Get Current Date and Time function returns the current date and time (with the local timezone) as an XML Schema data type: xs:dateTime.

Parameter: none

Returns: dateTime

The current date and time as the XML Schema data type: xs:dateTime. For example, if this function is run on February 22, 2005, at 12:43 PM in the PST timezone (- 08:00) this function returns the following dateTime:

2005-02-22T12:43:51-08:00
Note: If this function is called twice in a map, it is not guaranteed that the same dateTime is returned. This function is not stable as defined by the W3C.