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');
In reply to Re^3: How can I add 1 hour to the current time
by ikegami
in thread How can I add 1 hour to the current time
by sureshrps
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |