#!/usr/bin/perl use strict; use Date::Manip; my $time_a = "12:00:00"; my $time_b = "11:10:00"; my $delta = DateCalc( $time_a, $time_b ); print join ":", ( (split( ":", $delta ))[4, 5, 6] );
In reply to Re: Subtract two timestamps
by bichonfrise74
in thread Subtract two timestamps
by sandy1028
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |