Dear All, i have got some error. Please help me
[email protected] (Андрей) Wed, 07 May 2014 18:59:49 +0400
| Newsgroups | perl.datetime |
|---|---|
| Message-ID | <[email protected]> |
my $dt1 = DateTime->new( year => 2014, month => 3, day => 30, hour => 3, minute => 30, second => 0, time_zone => 'Europe/Kiev',); return an error "Invalid local time for date in time zone: Europe/Kiev". My problem: I have datetime, stored in "UTC" and have some periodical task (period 1 day). Then i have a customer - for him information must be viewed in 'Europe/Kiev'. In this timezone present DST. So customer see time of execution task (in his timezone) for example: 00:03:30 00:03:30 00:03:30 (then we have DST) 00:04:30 00:04:30 00:04:30 00:04:30 But he want that task will execute in 00:03:30 in his local timezone. Please help me solve this problem. Thank you in advance.