Home >>XQuery Tutorial >XQuery Time and Date Function
XQuery supports a lot of time and date feature, but here we have the selected one.
XQuery includes a list of several widely used date and time functions:
Sr No | Name | Description |
---|---|---|
1. | current-date() | It is used to return the current date. |
2. | current-time() | It is used to return the current time. |
3. | current-datetime() | It is used to return both the current date and the current time. |