[rt-users] Searches with variable dates

Ruslan U. Zakirov Ruslan.Zakirov at miet.ru
Thu May 12 02:21:34 EDT 2005


Rick Russell wrote:
> 
> Lee W wrote:
> 
>>All calls where status=open and lastupdates <= 2 days ago (or maybe
>>TODAY-2). or are the searches limited to fixed dates.
> 
> 
> All date references go through the ParseDate PERL library, documented here:
Documented http://wiki.bestpractical.com/index.cgi?SearchOnDates

> 
> http://search.cpan.org/~muir/Time-modules-2003.1126/lib/Time/ParseDate.pm
> 
> Yes, you can use formalisms like:
> 
>   Created > "-3 days"
> 
>       created more than 3 days ago
I think here should be "less" instead of "more" or condition should be "<".

> 
>   Due < "+2 days" AND
>   Due > "now"
> 
>       due date between now and 2 days from now
> 
> You can also use these date formats when you change the dates on an RT
> ticket; e.g. if you enter the Due Date as "+10 days", it will set the due
> date to 10 days from now.
> 
> Rick R.
> 
> 
> ------------------------------------------------------------------------
> 
> _______________________________________________
> http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-users
> 
> Be sure to check out the RT Wiki at http://wiki.bestpractical.com




More information about the rt-users mailing list