Return the current date and time.
fn:current-dateTime() => xs:dateTime
This function returns a value of type xs:dateTime
corresponding to the current date and time. The result is a value of type
xs:dateTime
that contains the date and time together with timezone
information.
Calling this function can return a value such as
2005-09-25T17:22:33.161Z
meaning the current time on September 25,
2005:
current-dateTime()
The following construct(s) refer to this construct: