# SIEMENS Driver DATE\_AND\_TIME values

**URL:** <https://forum.inductiveautomation.com/t/siemens-driver-date-and-time-values/5198>\
**Category:** Ignition\
**Created:** [September 26, 2012, 4:53pm UTC](https://forum.inductiveautomation.com/t/siemens-driver-date-and-time-values/5198 "2012-09-26T16:53:51Z")\
**Posts on this page:** 1\
**Showing post:** 5

<div class="post-metadata">

**Author:** ![chi](https://avatars.discourse-cdn.com/v4/letter/c/0ea827/32.png) [@chi](https://forum.inductiveautomation.com/u/chi)\
**Post date:** [September 26, 2012, 5:31pm UTC](https://forum.inductiveautomation.com/t/siemens-driver-date-and-time-values/5198/5 "2012-09-26T17:31:30Z")

</div>

If you have access to the plc programm there is a workaround. You can use the system functions DT\_TOD and DT\_DATE to convert a date into days and time of day. The DATE is an 16-bit value with the days since 1990-01-01 and TOD is a 32-bit value with the count of milliseconds since midnight. These value can easily be converted to a java date in Ignition.  
I added a function to our plc programs that converts all DT values and stores them in a seperate datablock which is then read by Ignition.

---

_[View the full topic](https://forum.inductiveautomation.com/t/siemens-driver-date-and-time-values/5198)._
