# How can I get current unix timestamp in seconds or milliseconds using blueprint?

**URL:** <https://forums.unrealengine.com/t/how-can-i-get-current-unix-timestamp-in-seconds-or-milliseconds-using-blueprint/1276215>\
**Category:** Blueprint\
**Tags:** unreal-engine, Blueprint, question\
**Created:** [August 29, 2023, 7:12am UTC](https://forums.unrealengine.com/t/how-can-i-get-current-unix-timestamp-in-seconds-or-milliseconds-using-blueprint/1276215 "2023-08-29T07:12:33Z")\
**Posts on this page:** 1\
**Showing post:** 4

<div class="post-metadata">

**Author:** ![IrSoil](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@IrSoil](https://forums.unrealengine.com/u/IrSoil)\
**Post date:** [August 29, 2023, 2:54pm UTC](https://forums.unrealengine.com/t/how-can-i-get-current-unix-timestamp-in-seconds-or-milliseconds-using-blueprint/1276215/4 "2023-08-29T14:54:34Z")

</div>

> DateTime-DateTime function is not available in UE5.

It was broken from 5.0 to 5.2, but it’s there in 5.3. If upgrading engine is not an option - [someone also reported](https://forums.unrealengine.com/t/calculating-accurate-time-difference-across-months-for-coin-farming/1267642/3) that you can just copypaste this node from other engine version and it should work.

---

_[View the full topic](https://forums.unrealengine.com/t/how-can-i-get-current-unix-timestamp-in-seconds-or-milliseconds-using-blueprint/1276215)._
