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. -J --