Loading TOC...

xdmp.daynameFromDate

xdmp.daynameFromDate(
   $arg as Date?
) as String?

Summary

Returns an xs:string representing the dayname value in the localized value of $arg.

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

Parameters
$arg The date whose dayname value will be returned.

Example

xdmp.daynameFromDate(xs.date("1997-07-20"));
=>
Sunday

Example

xdmp.daynameFromDate(xs.date("2012-05-16"));
=>
Wednesday

Comments

    Powered by MarkLogic Server 7.0-4.1 and rundmc | Terms of Use | Privacy Policy