You can use format-date(): format-date(current-date(), '[F]') = ('saturday', 'sunday')
Regards, -- Florent Georges http://fgeorges.org/ http://h2oconsulting.be/ On 14 October 2016 at 09:56, Debin, Infant Jerald (LNG-CON) 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 > 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