From: Jasper L. <jas...@gm...> - 2011-02-09 07:24:24
|
Thanks all! I knew there had to be such a simple solution to this... Jasper On Tue, Feb 8, 2011 at 9:19 PM, Adam Retter <ad...@ex...> wrote: > By far the simplest is to use the datetime XQuery Extension module > included with eXist-db. This can be enabled in your conf.xml. > > The functions of interest for you are probably either - > > datetime:day-in-week(...) or datetime:format-date(...) > > Cheers Adam. > > On 8 February 2011 17:54, Jasper Linthorst <jas...@gm...> > wrote: > > Hi all, > > Does anyone know if it's possible in XQuery/eXist to extract the day of > the > > week from an xs:date? > > In XSLT I would use the format-Date function for this, but that's is not > > available in XQuery. > > Any suggestions are greatly appreciated. > > Thanks in advance, > > Jasper > > > ------------------------------------------------------------------------------ > > The ultimate all-in-one performance toolkit: Intel(R) Parallel Studio XE: > > Pinpoint memory and threading errors before they happen. > > Find and fix more than 250 security defects in the development cycle. > > Locate bottlenecks in serial and parallel code that limit performance. > > http://p.sf.net/sfu/intel-dev2devfeb > > _______________________________________________ > > Exist-open mailing list > > Exi...@li... > > https://lists.sourceforge.net/lists/listinfo/exist-open > > > > > > > > -- > Adam Retter > > eXist Developer > { United Kingdom } > ad...@ex... > irc://irc.freenode.net/existdb > |