# Higher resolution DateTime/TimeStamp

**URL:** <https://discourse.julialang.org/t/higher-resolution-datetime-timestamp/3069>\
**Category:** Internals & Design\
**Tags:** dates\
**Created:** [April 5, 2017, 3:54pm UTC](https://discourse.julialang.org/t/higher-resolution-datetime-timestamp/3069 "2017-04-05T15:54:57Z")\
**Posts on this page:** 1\
**Showing post:** 44

<div class="post-metadata">

**Author:** ![helgee](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/helgee/32/2022_2.png) [@helgee](https://discourse.julialang.org/u/helgee)\
**Post date:** [February 6, 2019, 8:46am UTC](https://discourse.julialang.org/t/higher-resolution-datetime-timestamp/3069/44 "2019-02-06T08:46:07Z")

</div>

For the record:

I have published the first version of [AstroTime.jl](https://discourse.julialang.org/t/ann-astrotime-jl-astronomical-time-keeping-in-julia/20496).

We had a discussion about the accuracy and resolution here: [https://github.com/JuliaAstro/AstroTime.jl/issues/28](https://github.com/JuliaAstro/AstroTime.jl/issues/28)

In theory we should be able to achieve an accuracy of 55 attoseconds for a range of 10x the age of the universe (I have not tested these extremes though because most date-based algorithms become meaningless there). Shifting an epoch with a subsecond offset close to machine precision by a million years works though (see [here](https://github.com/JuliaAstro/AstroTime.jl/blob/master/test/epochs.jl#L2)) 😄

---

_[View the full topic](https://discourse.julialang.org/t/higher-resolution-datetime-timestamp/3069)._
