Hi,
I was trying to calculate the time difference b/w two input timestamp in perl. But i am not getting the value. Should i do any formatting of input paramters.
#!/usr/bin/perl
use POSIX;
my $ts1 = "$ARGV[0]";
my $ts2 = "$ARGV[1]";
$diff = ($ts1 - $ts2);
print int($diff);