XQuery Date Functions
XQuery String Functions
The following table lists the commonly used date functions provided by XQuery.
Name | Description |
---|---|
current-date() | It is used to return the current date. |
current-time() | It is used to return the current time. |
current-datetime() | It is used to return both the current date and the current time. |
note
XSLT 2.0, XPath 2.0, and XQuery 1.0, share the same functions library.
A complete list of date functions is available at XSL Functions