xdmp:strftime("%a", $date) Then look at the string output.
Be careful with timezones. -jh- On Oct 14, 2016, at 15:56, Debin, Infant Jerald (LNG-CON) <infantjerald.de...@lexisnexis.com<mailto:infantjerald.de...@lexisnexis.com>> wrote: Hi All, Is there any way to identify particular date falls in Saturday or Sunday using xquery Thanks, Debin _______________________________________________ General mailing list General@developer.marklogic.com<mailto:General@developer.marklogic.com> Manage your subscription at: http://developer.marklogic.com/mailman/listinfo/general
_______________________________________________ General mailing list General@developer.marklogic.com Manage your subscription at: http://developer.marklogic.com/mailman/listinfo/general