# Current timestamp with microsecond precision

**URL:** <https://discourse.julialang.org/t/current-timestamp-with-microsecond-precision/37317>\
**Category:** General Usage\
**Created:** [April 10, 2020, 8:08am UTC](https://discourse.julialang.org/t/current-timestamp-with-microsecond-precision/37317 "2020-04-10T08:08:26Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![robsmith11](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/robsmith11/32/29641_2.png) [@robsmith11](https://discourse.julialang.org/u/robsmith11)\
**Post date:** [April 10, 2020, 8:08am UTC](https://discourse.julialang.org/t/current-timestamp-with-microsecond-precision/37317/1 "2020-04-10T08:08:26Z")

</div>

I’m recording events arriving over the network and would like a little more precision than milliseconds. `Dates.now()` only provides a milliscond timestamp. Has anyone already written a function to wrap the Linux system call for a timestamp with microsecond precision?

---

<div class="post-metadata">

**Author:** ![tomerarnon](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/tomerarnon/32/3170_2.png) [@tomerarnon](https://discourse.julialang.org/u/tomerarnon)\
**Post date:** [April 10, 2020, 9:22am UTC](https://discourse.julialang.org/t/current-timestamp-with-microsecond-precision/37317/2 "2020-04-10T09:22:40Z")

</div>

You can use `time()` to get the system time in seconds (with high precision)
