Hi,
I had the same problem and after a looong search around I found how it
works:
[EMAIL PROTECTED] = xs:dateTime('2008-01-01T00:00:00.000+02:00')]
I hope it helps
Cheers,
Lorenzo
raybristol ha scritto:
String path = "paper/[EMAIL PROTECTED]'20070905 00:00:00']"
Query q = qm.createQuery(path, Query.XPATH);
I want to do a search by a datetype varialbes like above, however it doesn't
work, I try a couple of different format with limited sucess, I couldn't get
much more information from google, I can easliy do a search for a String
type but just got no clue how to do with a date type!
Thanks for a million for your help!
Ray:,(
--
*Lorenzo Dini*
CERN - European Organization for Nuclear Research
Information Technology Department
CH-1211 Geneva 23
Building 28 - Office 1-007
Phone: +41 (0) 22 7674384
Fax: +41 (0) 22 7668847
E-mail: [EMAIL PROTECTED]