Extracts the day from $date-var.
If the value of $date-var is the empty sequence, the empty sequence is returned. The empty sequence is a sequence containing zero items (), which is similar to null in SQL.
xf:get-day-from-date(xs:date? $date-var) —> xs:integer?
Returns the day as an integer from $date-var.
When you invoke the following query:
<day>{xf:get-day-from-date("2002-08-30")}</day>
The preceding query generates the following result:
<day>30</day>
W3C get-day-from-date function description.
W3C date data type description.