fn:format-date

Returns a string containing an xs:date value formatted for display.

Signatures

fn:format-date(
    $value as xs:date?, 
    $picture as xs:string
) as xs:string?
fn:format-date(
    $value as xs:date?, 
    $picture as xs:string, 
    $language as xs:string?, 
    $calendar as xs:string?, 
    $place as xs:string?
) as xs:string?

Properties

The two-argument form of this function is deterministic, context-dependent, and focus-independent. It depends on default calendar, and default language, and default place, and implicit timezone.

The five-argument form of this function is deterministic, context-dependent, and focus-independent. It depends on implicit timezone, and namespaces.

Rules

See The date/time formatting functions.