DateTime functions

fn:year-from-dateTime

	fn:year-from-dateTime (?date)
      

Returns the year from a xsd:date type, a xsd:dateTime type, or a ISO8601 date string. This function is equivalent to YEAR.

fn:month-from-dateTime

	fn:month-from-dateTime (?date)
      

Returns the month from a xsd:date type, a xsd:dateTime type, or a ISO8601 date string. This function is equivalent to MONTH.

fn:day-from-dateTime

	fn:day-from-dateTime (?date)
      

Returns the day from a xsd:date type, a xsd:dateTime type, or a ISO8601 date string. This function is equivalent to DAY.

fn:hours-from-dateTime

	fn:hours-from-dateTime (?date)
      

Returns the hours from a xsd:dateTime type or a ISO8601 datetime string. This function is equivalent to HOURS.

fn:minutes-from-dateTime

	fn:minutes-from-dateTime (?date)
      

Returns the minutes from a xsd:dateTime type or a ISO8601 datetime string. This function is equivalent to MINUTES.

fn:seconds-from-dateTime

	fn:seconds-from-dateTime (?date)
      

Returns the seconds from a xsd:dateTime type or a ISO8601 datetime string. This function is equivalent to SECONDS.

fn:timezone-from-dateTime

	fn:timezone-from-dateTime (?date)
      

Returns the timezone offset in minutes. This function is similar, but not equivalent to TIMEZONE or TZ.