fn:format-time

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

Signatures

fn:format-time(
    $value as xs:time?, 
    $picture as xs:string
) as xs:string?
fn:format-time(
    $value as xs:time?, 
    $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.