Help for this page

Select Code to Download


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