# Tag history start and end dates not recognized with certain properties

**URL:** <https://forum.inductiveautomation.com/t/tag-history-start-and-end-dates-not-recognized-with-certain-properties/65404>\
**Category:** Ignition\
**Tags:** perspective\
**Created:** [October 19, 2022, 2:47pm UTC](https://forum.inductiveautomation.com/t/tag-history-start-and-end-dates-not-recognized-with-certain-properties/65404 "2022-10-19T14:47:49Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Stephanie\_Jasper](https://avatars.discourse-cdn.com/v4/letter/s/b2d939/32.png) [@Stephanie\_Jasper](https://forum.inductiveautomation.com/u/Stephanie_Jasper)\
**Post date:** [October 19, 2022, 2:47pm UTC](https://forum.inductiveautomation.com/t/tag-history-start-and-end-dates-not-recognized-with-certain-properties/65404/1 "2022-10-19T14:47:49Z")

</div>

In a perspective view I have a table that retrieves tag data. I was originally using a DateTime Input to set the start and end dates under the "Tag History" tab of the table bindings. This approach works.  
 ![working](https://us1.discourse-cdn.com/inductiveautomation/original/3X/5/e/5e876c67b904a9aab44b4bfc370b21e60d24f3a4.jpeg)

However I got some feedback from users saying that they would prefer there be an update button so the table doesn't refresh anytime the date is changed in the DateTime Input.

I tried to implement this by adding two value properties to the button, one called "start\_date" and the other "end\_date". When the button is pressed a script runs that copies the value of the DateTime Inputs to theses two properties. The properties are in the start and end dates under the "Tag History" tab of the table.  
 ![image](https://us1.discourse-cdn.com/inductiveautomation/original/3X/5/f/5f693986a175a9532c0ac36e4032e646e1a664e8.png)

However when I tried to implement this the table would not update. The properties look like they copied correctly and kept the Date-Time formatting (which is the same formatting as DateTime Input value that worked correctly). I am not sure why the table is not accepting these values.  
 ![image](https://us1.discourse-cdn.com/inductiveautomation/original/3X/0/3/0340fa778ecf670ec8db79fab7c3427ccd265d4b.png)

Any idea what might be causing this or how to fix it?

Also let me know if there is a better way to accomplish

---

<div class="post-metadata">

**Author:** ![Joe\_Seph](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/joe_seph/32/40277_2.png) [@Joe\_Seph](https://forum.inductiveautomation.com/u/Joe_Seph)\
**Post date:** [October 31, 2022, 7:38pm UTC](https://forum.inductiveautomation.com/t/tag-history-start-and-end-dates-not-recognized-with-certain-properties/65404/2 "2022-10-31T19:38:12Z")

</div>

Hi Stephanie, can you share your script? Are you using our [system.date](https://docs.inductiveautomation.com/display/DOC81/system.date) functions to return the date?

---

<div class="post-metadata">

**Author:** ![Transistor](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/transistor/32/3380_2.png) [@Transistor](https://forum.inductiveautomation.com/u/Transistor)\
**Post date:** [October 31, 2022, 7:49pm UTC](https://forum.inductiveautomation.com/t/tag-history-start-and-end-dates-not-recognized-with-certain-properties/65404/3 "2022-10-31T19:49:27Z")

</div>

Your screen grab suggests that you have `{../Button.props.start_date}` where the tags should be.
