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