# Datetime library

**URL:** <https://forum.xod.io/t/datetime-library/2021>\
**Category:** Uncategorized\
**Created:** [March 14, 2019, 6:44pm UTC](https://forum.xod.io/t/datetime-library/2021 "2019-03-14T18:44:21Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![igoreremindio](https://avatars.discourse-cdn.com/v4/letter/i/b487fb/32.png) [@igoreremindio](https://forum.xod.io/u/igoreremindio)\
**Post date:** [March 14, 2019, 6:44pm UTC](https://forum.xod.io/t/datetime-library/2021/1 "2019-03-14T18:44:21Z")

</div>

Dear experts! Prompt to the beginner in the Datetime library! after setting the date and time, should the time change or is it static? or am I doing something wrong? It is possible that you need a real-time clock module!? Or can be without him?

---

<div class="post-metadata">

**Author:** ![gweimer](https://avatars.discourse-cdn.com/v4/letter/g/a9adbd/32.png) [@gweimer](https://forum.xod.io/u/gweimer)\
**Post date:** [March 14, 2019, 6:49pm UTC](https://forum.xod.io/t/datetime-library/2021/2 "2019-03-14T18:49:43Z")

</div>

If you are talking about xod/datetime, it only provides a date/time data structure and ways to convert to/from that structure. To get current time, you would need a real-time clock module and code to set/query it.
