Evaluating XPath Expresssions

XPath Result of XPath Evaluation
year-from-date(xs:date('2009-09-19'))
2009
year-from-date(current-date())
2009