date:date

Returns the date specified in the date/time string given as the argument. If no argument is given, then the current local date/time, as returned by date:date-time is used as a default argument.

date($date-time as string?) ➔ string

Arguments

 

$date-time

string?

The input date/time

Result

string

Namespace

http://exslt.org/dates-and-times

Links to specifications

EXSLT Dates and Times Module

See also:

date:time()