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

**URL:** <https://discourse.julialang.org/t/ann-timesdates-jl-times-zones-with-nanoseconds/10819>\
**Category:** Community\
**Tags:** package, announcement, dates\
**Created:** [May 10, 2018, 4:36pm UTC](https://discourse.julialang.org/t/ann-timesdates-jl-times-zones-with-nanoseconds/10819 "2018-05-10T16:36:12Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![JeffreySarnoff](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/jeffreysarnoff/32/1980_2.png) [@JeffreySarnoff](https://discourse.julialang.org/u/JeffreySarnoff)\
**Post date:** [May 10, 2018, 4:36pm UTC](https://discourse.julialang.org/t/ann-timesdates-jl-times-zones-with-nanoseconds/10819/1 "2018-05-10T16:36:13Z")

</div>

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

```julia-auto
using Pkg; Pkg.add("TimesDates")
using TimesDates, TimeZones, Dates

```

* * *

The [README](https://github.com/JeffreySarnoff/TimesDates.jl/blob/master/README.md) 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](https://github.com/JeffreySarnoff/TimesDates.jl/blob/master/test/runtests.jl).

---

<div class="post-metadata">

**Author:** ![getzze](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/getzze/32/5551_2.png) [@getzze](https://discourse.julialang.org/u/getzze)\
**Post date:** [June 5, 2019, 12:05pm UTC](https://discourse.julialang.org/t/ann-timesdates-jl-times-zones-with-nanoseconds/10819/2 "2019-06-05T12:05:04Z")

</div>

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

---

<div class="post-metadata">

**Author:** ![JeffreySarnoff](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/jeffreysarnoff/32/1980_2.png) [@JeffreySarnoff](https://discourse.julialang.org/u/JeffreySarnoff)\
**Post date:** [June 5, 2019, 12:10pm UTC](https://discourse.julialang.org/t/ann-timesdates-jl-times-zones-with-nanoseconds/10819/3 "2019-06-05T12:10:40Z")

</div>

Base has my permission.

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

---

<div class="post-metadata">

**Author:** ![JeffreySarnoff](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/jeffreysarnoff/32/1980_2.png) [@JeffreySarnoff](https://discourse.julialang.org/u/JeffreySarnoff)\
**Post date:** [April 18, 2022, 4:28pm UTC](https://discourse.julialang.org/t/ann-timesdates-jl-times-zones-with-nanoseconds/10819/4 "2022-04-18T16:28:33Z")

</div>

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

```julia
git branch -m master main
git fetch origin
git branch -u origin/main main
git remote set-head origin -a

```
