Eugene van der Pijll schreef:
> Thank you, I'll add this to the next version of the package.

... which has now been released: DateTime-Format-Epoch-0.08.

It now supports the ActiveDirectory epoch, and several day counts, such
as Julian Days.

> Maybe I'll make the unit parameter in the constructor accept
> DT::Duration's, so that you can specify units of 1 day or 1 week, etc.

I haven't yet implemented this, as supporting "mixed durations", such as
1 day + 60 seconds, is non-trivial. I might just take the easy way out,
and only support "simple" durations, with either days or seconds, but
not both.

Eugene

Reply via email to