home contribute faq download

FunctX XSLT Functions

fn:day-from-dateTime

The day portion of a date/time

Google
Webxsltfunctions.com

Description

The fn:day-from-dateTime function returns the day portion from an xs:dateTime value, as an integer between 1 and 31 inclusive.

This description is © Copyright 2007, Priscilla Walmsley. It is excerpted from the book XQuery by Priscilla Walmsley, O'Reilly, 2007. For a complete explanation of this function, please refer to Appendix A of the book.

Arguments and Return Type

NameType
$arg xs:dateTime?
return value xs:integer?

Examples

XPath ExampleResults
day-from-dateTime(
   xs:dateTime('2006-08-15T10:30:23'))
15

See Also

fn:day-from-dateThe day portion of a date

History

Published OnLast UpdatedContributor(s)
2006-06-272007-02-26W3C, XQuery 1.0 and XPath 2.0 Functions and Operators, http://www.w3.org/TR/xpath-functions/
Datypic XSLT Services

Recommended Reading:

XQuery