Now would the best way to get how many seconds / milliseconds there are between them to do. First strip out the 2006 day month as they are the same ? or leave them and domy $date1 = "2006/01/03 03:59:59:671"; my $date2 = "2006/01/03 04:00:00:562";
$date1 =~ s/://g; $date2 =~ s/://g; my $ordermilliseconds = $clsendtimestamp - $clrectimestamp; my $ordersecs = $ordermilliseconds / 1000;
In reply to Best way to compare date strings by minixman
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |