in reply to Re: Time::Piece wierdness - sanity check please!
in thread Time::Piece wierdness - sanity check please!
$t = localtime - returns an object which, when stringified, behaves the same as the original localtime.
The time arithmetic is not the problem, the problem is when you parse a datetime you get a value which is being treated as though it were GMT. Hence the difference values being calculated later which are 5 hours greater than the actual difference between the times.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Re: Re: Time::Piece wierdness - sanity check please!
by graff (Chancellor) on Mar 06, 2004 at 15:56 UTC |