- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
โ05-16-2013
02:13 AM
SearchService and Date fields
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
Labels
- Labels:
-
Developers
1 Solution
Accepted Solutions
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
โ05-17-2013
02:30 AM
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
2 Replies
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
โ05-17-2013
02:30 AM
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
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
โ05-17-2013
05:42 AM
Hi Jan Tilo,
great thanks a lot
best regards
antonio

