day-from-dateTime

The day portion of a date/time

Description

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

Examples

XPath

Results

day-from-dateTime(xs:dateTime(‘2006-08-15T10:30:23’))

15

See Also