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