# How to write item path for Time of Day data type

**URL:** <https://forum.inductiveautomation.com/t/how-to-write-item-path-for-time-of-day-data-type/93067>\
**Category:** Ignition\
**Created:** [July 11, 2024, 8:48am UTC](https://forum.inductiveautomation.com/t/how-to-write-item-path-for-time-of-day-data-type/93067 "2024-07-11T08:48:48Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![Yixin\_Ma](https://avatars.discourse-cdn.com/v4/letter/y/ac8455/32.png) [@Yixin\_Ma](https://forum.inductiveautomation.com/u/Yixin_Ma)\
**Post date:** [July 11, 2024, 8:48am UTC](https://forum.inductiveautomation.com/t/how-to-write-item-path-for-time-of-day-data-type/93067/1 "2024-07-11T08:48:48Z")

</div>

Hi all, I tried to create tags for the "time of day" data type. In Siemens PLC, it looks like

 ![image](https://us1.discourse-cdn.com/inductiveautomation/original/3X/9/3/93e430814df5603d8b22000e96abd7c37ec21811.png)  
But then how to write the opc item path in ignition? I tried "nsu=KEPServerEX;s=05602.PLC.DB30.B16@LTIME\_OF\_DAY"  
but it doesn't work.

---

<div class="post-metadata">

**Author:** ![Hayden\_Watson](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/hayden_watson/32/48792_2.png) [@Hayden\_Watson](https://forum.inductiveautomation.com/u/Hayden_Watson)\
**Post date:** [July 11, 2024, 9:03am UTC](https://forum.inductiveautomation.com/t/how-to-write-item-path-for-time-of-day-data-type/93067/2 "2024-07-11T09:03:41Z")

</div>

Not sure on this data type, but I know the "Date\_And\_Time" data type requires an S7-1500/400/300.

But maybe check if this datatype can even be sent over the Siemens driver

---

<div class="post-metadata">

**Author:** ![Yixin\_Ma](https://avatars.discourse-cdn.com/v4/letter/y/ac8455/32.png) [@Yixin\_Ma](https://forum.inductiveautomation.com/u/Yixin_Ma)\
**Post date:** [July 11, 2024, 10:29am UTC](https://forum.inductiveautomation.com/t/how-to-write-item-path-for-time-of-day-data-type/93067/3 "2024-07-11T10:29:06Z")

</div>

Hi Hayden, thanks for the reply! Our devices are S7-300 so "date\_and\_time" should be no problem.

---

<div class="post-metadata">

**Author:** ![Yixin\_Ma](https://avatars.discourse-cdn.com/v4/letter/y/ac8455/32.png) [@Yixin\_Ma](https://forum.inductiveautomation.com/u/Yixin_Ma)\
**Post date:** [July 11, 2024, 11:37am UTC](https://forum.inductiveautomation.com/t/how-to-write-item-path-for-time-of-day-data-type/93067/4 "2024-07-11T11:37:25Z")

</div>

Solved! 🙃 the opc item path should be ""nsu=KEPServerEX;s=05602.PLC.DB30.TOD16@STRING" and select data type as "string"
