I concur. The dates are stored in ISO formats and I think you need to use some other function to convert them. Check the JCR spec for details.
Jan On Thu, 2009-09-24 at 16:00 +0200, Will Scheidegger wrote: > Are you sure this function is supported in Jackrabbit? From what I've > experienced with Jackrabbit, only the very common functions are > implemented. > > > -will > > On 24.09.2009, at 15:56, Ana Osman wrote: > > > Hello all, > > > > I'm trying to use the xpath functions for quering the jcr. This is > > the query I'm trying to run: > > .//*[year-from-dateTime(@beginDate)<2009] > > but it gives me no result. > > > > How should I use these functions? Should I make some configurations > > in Magnolia? > > > > Thanks in advance for your help, > > Ana Osman > > > > > > ______________________________________________________________________ > ---------------------------------------------------------------- > For list details see > http://www.magnolia-cms.com/home/community/mailing-lists.html > To unsubscribe, E-mail to: <[email protected]> > ---------------------------------------------------------------- ---------------------------------------------------------------- For list details see http://www.magnolia-cms.com/home/community/mailing-lists.html To unsubscribe, E-mail to: <[email protected]> ----------------------------------------------------------------
