in reply to Convert EST to GMT

use Modern::Perl; use DateTime; my $dt = DateTime->new( year => 2011, month => 1, day => 7, hour => 8, minute => 59, second => 54, time_zone => 'America/New_York', ); say $dt->set_time_zone('GMT');
output: 2011-01-07T13:59:54

CountZero

A program should be light and agile, its subroutines connected like a string of pearls. The spirit and intent of the program should be retained throughout. There should be neither too little or too much, neither needless loops nor useless variables, neither lack of structure nor overwhelming rigidity." - The Tao of Programming, 4.1 - Geoffrey James