Help for this page
my $now = DateTime->now(time_zone => 'America/New_York'); my $then = DateTime::Format::MySQL->parse_datetime($last); ... print $diff->in_units('minutes'); print "\n";
[root@localhost directory]# ./sql-test.pl SQL: 2009-10-06 18:00:00 ... 191