XPath/XQuery format-dateTime function

Summary

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

Signatures

fn:format-dateTime(
$value as xs:dateTime?,
$picture as xs:string
) as xs:string?
fn:format-dateTime(
$value as xs:dateTime?,
$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 default-language default-place implicit-timezone.
The five-argument form of this function is deterministic, context-dependent, and focus-independent. It depends on implicit-timezone namespaces.

Rules

See .