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) 
<[email protected]<mailto:[email protected]>> 
wrote:

Hi All,

Is there any way to identify particular date falls in Saturday or Sunday using 
xquery

Thanks,
Debin
_______________________________________________
General mailing list
[email protected]<mailto:[email protected]>
Manage your subscription at:
http://developer.marklogic.com/mailman/listinfo/general

_______________________________________________
General mailing list
[email protected]
Manage your subscription at: 
http://developer.marklogic.com/mailman/listinfo/general

Reply via email to