There are a lot of time and date function supported in XQuery but here, we are providing the selected one.
A list of some commonly used date and time functions provided by XQuery:
Index | 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. |