SearchService and Date fields
Author: zava
Publication Date: 5/16/2013 9:13
Hi Community,
how can I use SearchService to search content with a specified date in a datefield...?
PatternClause online = new PatternClause("ptValidTo", "XXXXXXXXXXXXX");
thanks
best regards
antonio
0
-
Author: jan-tilo - 5/17/2013 9:30
Hi Antonio,
the format of date is yyyy_MM_dd_HH_mm.
Additionally be aware that date/time is stored in GMT.
So if you want to search for a date without time, set hour and minute to 0 and set the time zone to GMT.
Kind regards
Jan Tilo
0
Vous devez vous connecter pour laisser un commentaire.
Commentaires
1 commentaire