in reply to Re^2: How can I add 1 hour to the current time
in thread How can I add 1 hour to the current time
Wouldn't it be easier to just get the time in London?
use DateTime; my $dt = DateTime->now( time_zone => 'Europe/London' ); say $dt->strftime('%Y-%m-%d %H:%M:%S');
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^4: How can I add 1 hour to the current time
by sureshrps (Novice) on Aug 20, 2011 at 09:07 UTC | |
by ikegami (Patriarch) on Aug 20, 2011 at 09:22 UTC | |
by sureshrps (Novice) on Aug 20, 2011 at 09:29 UTC | |
by jethro (Monsignor) on Aug 20, 2011 at 12:04 UTC | |
by ikegami (Patriarch) on Aug 20, 2011 at 20:45 UTC |