Filters items based on the item date attribute specified by FilterDateType, the date value specified by Date, and the operation specified by Operation. Optionally, the filter can specify a user-defined field with type Date by setting the optional FieldName parameter. In this case the filter uses this field with Date and Operation to filter for items.
AFTKN_FILTER_SET_DATE or 845
VOID FilterSetDate(ENUM FilterHandleType; ENUM FilterDateType; [ANSISTRING FieldName]; [ANSISTRING UserID]; ENUM Operation; ENUM Date; [DWORD DateOffset])
Unique filter identifier, returned by FilterCreate():
Specifies the filter date type as follows:
112 |
AssignedDate |
126 |
BeginDateTime |
139 |
CreateDate |
507 |
DeliveredDate |
148 |
DueDate |
151 |
EndDateTime |
331 |
NamedField |
(Optional)
(Optional)
Specifies the operation as follows:
320 |
Equal |
321 |
GT |
322 |
GTE |
318 |
LT |
319 |
LTE |
Specifies the date as follows:
3 |
Month |
235 |
Today |
236 |
Tomorrow |
2 |
Week |
4 |
Year |
271 |
Yesterday |
(Optional)