XQuery Function Documentation

http://exist-db.org/xquery/util

java:org.exist.xquery.functions.util.UtilModule

A module for various utility extension functions.

util:system-dateTime

util:system-dateTime() as xs:dateTime

Returns the current xs:dateTime (with timezone) as reported by the Java method System.currentTimeMillis(). Contrary to fn:current-dateTime, this function is not stable, i.e. the returned xs:dateTime will change during the evaluation time of a query and can be used to measure time differences.

Returns:
xs:dateTime : the current xs:dateTime (with timezone)