# How can I address a Siemens S7 DATE\_AND\_TIME OPC Tag

**URL:** <https://forum.inductiveautomation.com/t/how-can-i-address-a-siemens-s7-date-and-time-opc-tag/10040>\
**Category:** Ignition\
**Created:** [May 20, 2015, 3:33pm UTC](https://forum.inductiveautomation.com/t/how-can-i-address-a-siemens-s7-date-and-time-opc-tag/10040 "2015-05-20T15:33:31Z")\
**Posts on this page:** 1\
**Showing post:** 3

<div class="post-metadata">

**Author:** ![Andrew\_Buldyzhov](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/andrew_buldyzhov/32/74246_2.png) [@Andrew\_Buldyzhov](https://forum.inductiveautomation.com/u/Andrew_Buldyzhov)\
**Post date:** [September 24, 2025, 10:32am UTC](https://forum.inductiveautomation.com/t/how-can-i-address-a-siemens-s7-date-and-time-opc-tag/10040/3 "2025-09-24T10:32:15Z")

</div>

S7 Date\_And\_Time type has 8 bytes. Each byte represents year, month, day, hours, minutes, seconds, and milliseconds (two bytes) in BCD format. More details are [here](https://docs.tia.siemens.cloud/r/en-us/v20/data-types/date-and-time/date_and_time-date-and-time-of-day).

The solution is described in [this thread](https://forum.inductiveautomation.com/t/siemens-driver-date-and-time-values/5198/33).

---

_[View the full topic](https://forum.inductiveautomation.com/t/how-can-i-address-a-siemens-s7-date-and-time-opc-tag/10040)._
