in reply to Re^2: Time::ParseDate issues
in thread Time::ParseDate issues
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
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^4: Time::ParseDate issues
by Conal (Beadle) on Nov 29, 2008 at 07:14 UTC |