Hi All,
If you want to use the following operators in a filter:
IFilterComparisonOperators.TIME_OF_DAY_EQUAL_TO :
IFilterComparisonOperators.TIME_OF_DAY_GREATER_THAN :
IFilterComparisonOperators.TIME_OF_DAY_GREATER_THAN_EQUAL_TO :
IFilterComparisonOperators.TIME_OF_DAY_LESS_THAN :
IFilterComparisonOperators.TIME_OF_DAY_LESS_THAN_EQUAL_TO :
IFilterComparisonOperators.TIME_OF_DAY_NOT_EQUAL_TO :
Please be careful, it just compares the time(hour * 60 * 60 + mins * 60 + secs),not day.
E.g.
SiteFilter filter = new SiteFilter(getServer());
Time = 2010-5-10 14:00:00(FTPC time)
filter.forCreationTimeOfDayLessThan(time);
It retrievals all records with creation time less than 10 am . E.g. records with time 2010-5-9 13:00:00, 2010-5-11 13:00:00
Some related methods:
ü forCreationTimeOfDayLessThan;
ü forCreationTimeOfDayGreaterThanOrEqualTo
ü forUdaTimeOfDayGreaterThanOrEqualTo;
ü forUdaTimeOfDayLessThan;
You can also find this in our inner web page:
http://119.119.118.28/dev/tiki-index.php?page=a+confused+method--forXXXTimeOfDayXXX
Regards,
Rex Wu