datetime:count-day-in-month($weekday as xs:integer, $date as xs:date) xs:integer
Returns the count of a specific weekday in a month from the given date. For example it can tell you there are 5 Fridays in February 2008.
Returns The number of occurrences of the weekday in the selected month.
datetime:date-for($year as xs:integer, $month as xs:integer, $week as xs:integer, $weekday as xs:integer) xs:date
Returns the date for a given set of parameters.
Returns the date generated from the parameters.
datetime:date-from-dateTime($date-time as xs:dateTime) xs:date
Returns the xs:date portion of an xs:dateTime
Returns the extracted date.
datetime:date-range($start-date as xs:date, $increment as xs:duration, $iterations as xs:integer) xs:date*
Generates a range of xs:date values, incremented cumulatively by a fixed duration from a start xs:date
Returns the range(s)
datetime:datetime-range($start-date-time as xs:dateTime, $increment as xs:duration, $iterations as xs:integer) xs:dateTime*
Generates a range of xs:dateTime values, incremented cumulatively by a fixed duration from a start xs:dateTime
Returns the range(s)
datetime:day-in-week($date as xs:date) xs:integer
Returns the day in the week of the date. Result is in the range 1 to 7, where 1 = Sunday, 7 = Saturday.
Returns the day in the week of the date in the range 1 to 7, where 1 = Sunday, 7 = Saturday.
datetime:days-in-month($date as xs:date) xs:integer
Returns the number of days in the month of the date.
Returns the number of days in the given month.
datetime:format-date($date as xs:date, $simple-date-format as xs:string) xs:string
Returns a xs:string of the xs:date formatted according to the SimpleDateFormat format.
Returns the formatted date string
datetime:format-dateTime($date-time as xs:dateTime, $simple-date-format as xs:string) xs:string
Returns a xs:string of the xs:dateTime according to the SimpleDateFormat format.
Returns the formatted dateTime string
datetime:format-time($time as xs:time, $simple-date-format as xs:string) xs:string
Returns a xs:string of the xs:time formatted according to the SimpleDateFormat format.
Returns the formatted time string
datetime:parse-date($date-string as xs:string, $simple-date-format as xs:string) xs:date
Returns an xs:date of the xs:string parsed according to the SimpleDateFormat format.
Returns the parsed xs:date
datetime:parse-dateTime($dateTime-string as xs:string, $simple-date-format as xs:string) xs:dateTime
Returns an xs:dateTime of the xs:string parsed according to the SimpleDateFormat format.
Returns the parsed xs:dateTime
datetime:parse-time($time-string as xs:string, $simple-date-format as xs:string) xs:time
Returns an xs:time of the xs:string parsed according to the SimpleDateFormat format.
Returns the parsed xs:time
datetime:time-from-dateTime($date-time as xs:dateTime) xs:time
Returns the xs:time portion of an xs:dateTime.
Returns the time extracted from the date-time
datetime:time-range($start-time as xs:time, $increment as xs:dayTimeDuration, $iterations as xs:integer) xs:time*
Generates a range of xs:time values, incremented cumulatively by a fixed duration from a start xs:time
Returns the range(s)
datetime:week-in-month($date as xs:date) xs:integer
Returns the week in the month of the date.
Returns the week in the month of the date