has_contain_date(item_id)
Description
will return true if the item text has a date value somewhere in the string false otherwise
Works with the following date formats
- today, tomorrow, yesterday, the day before yesterday, the day after tomorrow
- [next|last] Mon. Monday, Tues. Tuesday, etc
- Jan. 10, February 12, etc
- 12/31, 11-25, etc
- 2008-8-1, 2009/9/1
- mm-dd-yyyy, mm/dd/yyyy
Example
x=item_id;
y=has_contain_date(x)
x is assigned the item id of the item and
y returns true or false depending on whether there is a date expression in the item.
Related Rules
get_contain_date()