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