EXSLT - date:date-time

Implementer Page: date.date-time.html
Function Package: date.date-time.zip

Function Syntax

string date:date-time()

The date:date-time function returns the current date and time as a date/time string. The date/time string that's returned must be a string in the format defined as the lexical representation of xs:dateTime in [3.2.7 dateTime] of [XML Schema Part 2: Datatypes].

The date/time format is basically CCYY-MM-DDThh:mm:ss, although implementers should consult [XML Schema Part 2: Datatypes] and [ISO 8601] for details.

The date/time string format must include a time zone, either a Z to indicate Coordinated Universal Time or a + or - followed by the difference between the difference from UTC represented as hh:mm.


The following XSLT processors support date:date-time:

Implementations of date:date-time are available in the following languages:

http://www.exslt.org/date/functions/date-time/index.html last modified 2002-11-12