Hi Torsten

Ok, perfect it worked.
Now how do I do to convert my parameters into those kinds of values?

Thanks and Regards

On Sat, Jul 24, 2010 at 1:39 AM, Torsten Thau <Torsten.Thau@cape-it.de> wrote:
Hi,

> my $WorkingTime = $TimeObject->WorkingTime(
>         StartTime => '15/07/2010',
>         StopTime => '16/07/2010',
> );

method WorkingTime requires systemtime-values as parameters. Try
something like

my $WorkingTime = $TimeObject->WorkingTime(
   StartTime => '1279152000',  # which is '15/07/2010'
   StopTime => '1279238400',   # which is '16/07/2010'
   Calendar  => $Calendar || '',
);

regards, Torsten Thau

--
Torsten Thau, Dipl. Inform.
c.a.p.e. IT Labs GbR - Annaberger Str. 240 - D-09125 Chemnitz
phone: +49 371 5347 623
cell: +49 176 66 680 680
personal pgp-key: 0x93E0A174
fax: +49 371 5347 625
http://www.cape-it.de


---------------------------------------------------------------------
OTRS mailing list: dev - Webpage: http://otrs.org/
Archive: http://lists.otrs.org/pipermail/dev
To unsubscribe: http://lists.otrs.org/cgi-bin/listinfo/dev

NEW! ENTERPRISE SUBSCRIPTION - Get more information NOW!
http://www.otrs.com/en/support/enterprise-subscription/