sql.dayname( arg as xs.genericDateTimeArg? ) as String?
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. |
sql.dayname(xs.date("1997-07-20")); => Sunday
sql.dayname("2012-05-16"); => Wednesday
Stack Overflow: Get the most useful answers to questions from the MarkLogic community, or ask your own question.