MarkLogic 9 Product Documentation
xdmp:dayname-from-date

xdmp:dayname-from-date(
   $arg as xs:date?
) as xs:string?

Summary

Returns a string representing the dayname value in the localized value of $arg.

If $arg is an empty sequence, returns the empty sequence.

Parameters
arg The date whose dayname value will be returned.

Example

xdmp:dayname-from-date(xs:date("1997-07-20"))
=>
Sunday

Example

xdmp:dayname-from-date(xs:date("2012-05-16"))
=>
Wednesday
Powered by MarkLogic Server | Terms of Use | Privacy Policy