Evaluating XPath Expresssions

XPath Result of XPath Evaluation
year-from-dateTime(xs:dateTime('2009-09-19T11:42:00-04:00'))
2009
month-from-dateTime(xs:dateTime('2009-09-19T11:42:00-04:00'))
9
day-from-dateTime(xs:dateTime('2009-09-19T11:42:00-04:00'))
19
hours-from-dateTime(xs:dateTime('2009-09-19T11:42:00-04:00'))
11
minutes-from-dateTime(xs:dateTime('2009-09-19T11:42:00-04:00'))
42
seconds-from-dateTime(xs:dateTime('2009-09-19T11:42:00-04:00'))
0
timezone-from-dateTime(xs:dateTime('2009-09-19T11:42:00-04:00'))
-PT4H
year-from-date(xs:date('2009-09-19-04:00'))
2009
month-from-date(xs:date('2009-09-19-04:00'))
9
day-from-date(xs:date('2009-09-19-04:00'))
19
timezone-from-date(xs:date('2009-09-19-04:00'))
-PT4H
hours-from-time(xs:time('11:42:00-04:00'))
11
minutes-from-time(xs:time('11:42:00-04:00'))
42
seconds-from-time(xs:time('11:42:00-04:00'))
0
timezone-from-time(xs:time('11:42:00-04:00'))
-PT4H