my $created = $self->TicketObj->CreatedObj; $created->Add...; my ($status, $msg) = $self->TicketObj->SetDue( $created->ISO ); $RT::Logger->error("Couldn't set due date: $msg") unless $status;
On Wed, Oct 22, 2008 at 5:46 PM, Violetta Wawryk <[EMAIL PROTECTED]> wrote: > > Hi, > > yes I am doing that already, but they add the days to the current date and > not the Created date. Does anyone actually know how I can tell the perlthing > to use the created date and not the current date. That would be very > helpful. > > Thanks. > > Violetta > > Ruslan Zakirov schrieb: >> >> Look into RT::Date class - lib/RT/Date.pm there are several simple >> methods to add time to the date. > > -- > Vorstand/Board of Management: > Dr. Bernd Finkbeiner, Dr. Florian Geyer, > Dr. Roland Niemeier, Dr. Arno Steitz, Dr. Ingrid Zech > Vorsitzender des Aufsichtsrats/ > Chairman of the Supervisory Board: > Prof. Dr. Hanns Ruder > Sitz/Registered Office: Tuebingen > Registergericht/Registration Court: Stuttgart > Registernummer/Commercial Register No.: HRB 382196 > -- Best regards, Ruslan. _______________________________________________ http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-users Community help: http://wiki.bestpractical.com Commercial support: [EMAIL PROTECTED] Discover RT's hidden secrets with RT Essentials from O'Reilly Media. Buy a copy at http://rtbook.bestpractical.com