Java / CORBA / FTSearch with DateTime value

Hello,

I’m using Java + CORBA (with the NCSO.jar library from my Domino 8.5.1 server) to execute a query on a Domino 8.5.1 (WinXP) server.

I have no problem to make a query with Date condition (on a DateTime field), like :

myView.FTSearch(“FIELD MyDateTimeField <= 01/01/2010”)

It works.

The problem : I’d like to make a query with a DateTime condition, something like :

myView.FTSearch(“FIELD MyDateTimeField <= 01/01/2010 01:01:10”)

but… it doesn’t work (lotus.domino.NotesException, without any detailed message).

I don’t find any help in the Domino Designer help, I tried with “[” and “]”, etc…

Any idea ? Thx.

Subject: work in progress…

Ok, I found a format for DateTime : “yyyyMMddThhmmss” (ex: 20100416T171930).The code doesn’t crash, but the Time part seems is not interpreted :confused:

Any idea ?