On Sun, 23 Nov 2003, Joshua Hoblitt wrote:
On Sun, 23 Nov 2003, Dave Rolsky wrote:
This should be relatively simple to do, but I'm sure the current API makes
it easy. Basically, it'd be something like:
(86400 * (Rata Die days) + (seconds) + (leap seconds so far)) * 10_000_000
Getting that last bit of information can be done via the
DateTime::LeapSecond package distributed with DateTime.pm, but DateTime.pm
internally gets this information from a quicker XS implementation.
I suppose I could add a method for this if there's a need.
This should be a format module. Something like DateTime::Format::DotNet.
Yeah, I agree. I was just saying that if people wanted to be able to ask
how many leap seconds a particular datetime object included, I could add a
method for that.
-dave
/*===
House Absolute Consulting
www.houseabsolute.com
===*/