should give the same number of seconds,(since Jan 1, 1970), as:
my $now = time; $now -= ($now % 60);
I say should because I don't know if the function parsedate gives seconds since the epoch when only supplied the time numbers (and not the date numbers).
What his code is doing is removing any seconds (> 00)
Chris
In reply to Re^3: Time::ParseDate issues
by Cristoforo
in thread Time::ParseDate issues
by Conal
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |