[ANN] TimesDates.jl: times & zones with nanoseconds

TimesDates.jl: work with nanosecond resolved times.

  • the types play very well together and with others
  • the calculations defer to those of Dates, TimeZones
  • the perspective is already familiar, and easy to use

this type is like a more finely resolved
TimeDate Dates.DateTime
TimeDateZone TimeZones.ZonedDateTime

install

This package requires Julia v0.7-, please run Pkg.update() first.

using Pkg; Pkg.add("TimesDates")
using TimesDates, TimeZones, Dates

The README provides an introduction with utilitarian examples and a note on the design.

A good guide to transparent work with Dates and TimeZones is provided by the test file.

5 Likes

Great package!
Any chance of seeing these minimal changes included in Base.Dates ?

Base has my permission.

(I am delighted to know you are finding the work helpful)

1 Like

The package branch master has been renamed main.
If you have a local copy …

git branch -m master main
git fetch origin
git branch -u origin/main main
git remote set-head origin -a
2 Likes