Skip to content

XQuery Date Functions

How XQuery date functions such as current-date(), current-time(), and current-dateTime() return the current date, time, and combined date-time values.

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.
Navigation