jackrabbit-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Nicolas <Nicolas.Modr...@macnica.com>
Subject Re: date search
Date Tue, 09 May 2006 00:08:36 GMT
Hi Marcel,

That worked great. Thanks !

Nicolas,

On May 5, 2006, at 5:02 PM, Marcel Reutegger wrote:

> Nicolas wrote:
>> forgot to say that the search was done on a node property. Here's  
>> an xml export fragment:
>> <sv:property sv:name="vStartDate"  
>> sv:type="Date"><sv:value>2006-05-04T09:00:58.000+09:00</sv:value></

>> sv:property> and the search is:
>> ... and @vStartDate>'2006-05-05T11:32:22.000+09:00']
>
> try using the xs:dateTime() function this prevents jackrabbit from  
> doing  type conversions and indicates the desired type right away:
>
> ... and @vStartDate > xs:dateTime('2006-05-05T11:32:22.000+09:00')]
>
> regards
>  marcel


Mime
View raw message