AW: Converting 12 hour time format to 24 hour format ... a bit urgent

2010-04-07 Thread Thomas Bätzler
newbie01 perl asked: > Unfortunately, I suddenly have to to deal with an input file where the > datetime format is 02-Apr-2010 3:41:23 p.m., i.e. DD-MON- HH:MI:SS > a.m./p.m., so now my Delta_YMDHMS does not work as expected. You can convert from a.m./p.m. to standard 24 hours using a simple

Converting 12 hour time format to 24 hour format ... a bit urgent

2010-04-07 Thread newbie01 perl
Hi all, I have a Perl script that uses Date::Calc to calculate difference between two datetime variables using Decode_Month and Delta_YMDHMS. ( $yy, $mm, $dd, $hh, $mi, $ss ) = Delta_YMDHMS( $logical_yy, $logical_mm, $logical_dd, $logical_hh, $