[rt-users] how to use LimitDate ?

matthew zeier mrz at intelenet.net
Tue Mar 29 14:12:15 EST 2005


I don't know if I have this syntax correct - I have tickets that have been 
updated within the last 18 hours.  What is $ISODate supposed to look like?


my $ISODate = "2005-03-20 10:50:00";

# Get hold of new and open tickets only
my $tickets = new RT::Tickets($RT::SystemUser);
$tickets->LimitStatus(VALUE => 'open');
$tickets->LimitStatus(VALUE => 'new');
$tickets->LimitQueue(VALUE => $queue->Id);
$tickets->LimitPriority(OPERATOR => '=', VALUE => "10");
$tickets->LimitDate(
    FIELD => "LastUpdated",
    OPERATOR => ">",
    VALUE => "$ISODate");



--
matthew zeier, Sr. Network Engineer  | "Nothing in life is to be feared.
InteleNet Communications, Inc.       |  It is only to be understood."
(949) 784-7904                       |       - Marie Curie 




More information about the rt-users mailing list