Leap Seconds and Epochs

2005-11-20 Thread Rick Measham
Why does time() return a multiple of 60? Surely each time there's a leap second time()%60 should increment? Cheers! Rick Measham

Re: Leap Seconds and Epochs

2005-11-20 Thread mathieu longtin
Cause time since the epoch doesn't measure leap seconds. See in the DateTime manual, under the epoch() method description. On 11/20/05, Rick Measham [EMAIL PROTECTED] wrote: Why does time() return a multiple of 60? Surely each time there's a leap second time()%60 should increment? Cheers!

Re: Leap Seconds and Epochs

2005-11-20 Thread Rick Measham
mathieu longtin wrote: Cause time since the epoch doesn't measure leap seconds. See in the DateTime manual, under the epoch() method description. I'm aware that it doesn't measure them ... but I'm wondering why? Surely that makes it Capital-W-Wrong. Perl will return the Wrong number of

Re: Leap Seconds and Epochs

2005-11-20 Thread Dave Rolsky
On Mon, 21 Nov 2005, Rick Measham wrote: mathieu longtin wrote: Cause time since the epoch doesn't measure leap seconds. See in the DateTime manual, under the epoch() method description. I'm aware that it doesn't measure them ... but I'm wondering why? Surely that makes it Capital-W-Wrong.