Help for this page

Select Code to Download


  1. or download this
    #!/usr/bin/perl
    
    ...
    print str2time("2012-01-05 14:23:09") . "\n";
    
    exit;
    
  2. or download this
    ##########
    use strict;
    ...
    print "maxDashboardAlarmForGroupStartTime: " . $maxDashboardAlarmForGr
    +oupStartTime . "\n";
    my $timeDiff = str2time($dashboardAlarmStartTime) - str2time($maxDashb
    +oardAlarmForGroupStartTime);
    print "timeDiff: " . $timeDiff . "\n";
    
  3. or download this
    perl -MDate::Parse -le 'print $INC{"Date/Parse.pm"}'