fn:current-date

Return current date.

Top of page

Related Syntax Constructs

The following construct(s) refer to this construct:


Syntax

fn:current-date() => xs:date

Description

This function returns the current date corresponding to the current date and time. The result is a value of type xs:date that contains the date together with timezone information.

Examples

  • Calling this function can return a value such as 2005-09-25Z:

    current-date()