# Parsing datetime string

**URL:** <https://discourse.julialang.org/t/parsing-datetime-string/65179>\
**Category:** General Usage\
**Tags:** question, dates, parsing\
**Created:** [July 23, 2021, 1:45pm UTC](https://discourse.julialang.org/t/parsing-datetime-string/65179 "2021-07-23T13:45:08Z")\
**Posts on this page:** 1\
**Showing post:** 9

<div class="post-metadata">

**Author:** ![rafael.guerra](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/rafael.guerra/32/216610_2.png) [@rafael.guerra](https://discourse.julialang.org/u/rafael.guerra)\
**Post date:** [July 26, 2021, 10:09am UTC](https://discourse.julialang.org/t/parsing-datetime-string/65179/9 "2021-07-26T10:09:12Z")

</div>

> [@Impressium](#):
>
> I want the most precision as possible

The [TimesDates](https://jeffreysarnoff.github.io/TimesDates.jl/) package announced [here](https://discourse.julialang.org/t/ann-timesdates-jl-times-zones-with-nanoseconds/10819) handles nanoseconds:

```julia
using TimesDates
dt_str = "2021-05-26T21:00:19.5816626Z"
tnano = TimeDate(dt_str[1:26])
2021-05-26T21:00:19.581662

julia> typeof(tnano)
TimeDate

```

---

_[View the full topic](https://discourse.julialang.org/t/parsing-datetime-string/65179)._
