The following table lists the commonly used date functions provided by XQuery.
current-date()
Returns the current date.
current-time()
Returns the current time.
current-dateTime()
Returns both the current date and the current time.