Returns the current date as a date value.
All invocation of this function in a single outermost XQuery or XPATH expression will report the same date.
The following example query, invokes the current-date function:
<current>{xf:current-date()}</current>
If the current date is November 11, 2002 and the current time is 4:23, The preceding query generates the following result:
<current>2002-11-11</current>
W3C current-date function description.
W3C date data type description.