fn:current-date function
The fn:current-date function returns the current date in the local time zone.
Syntax
Returned value
The returned value is an xs:date value that is the current date. The time zone component of the returned value is the local time zone.
Example
The following function returns the
current date.
fn:current-date()
If this function were invoked on December 2, 2009, in Pacific Standard Time, the returned value would be 2009-12-02-08:00.