# How to get live tag last value changed and timestamp using system.tag.querytaghistory

**URL:** <https://forum.inductiveautomation.com/t/how-to-get-live-tag-last-value-changed-and-timestamp-using-system-tag-querytaghistory/42940>\
**Category:** Ignition\
**Created:** [February 3, 2021, 6:43am UTC](https://forum.inductiveautomation.com/t/how-to-get-live-tag-last-value-changed-and-timestamp-using-system-tag-querytaghistory/42940 "2021-02-03T06:43:57Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![prasath.t](https://avatars.discourse-cdn.com/v4/letter/p/898d66/32.png) [@prasath.t](https://forum.inductiveautomation.com/u/prasath.t)\
**Post date:** [February 3, 2021, 6:43am UTC](https://forum.inductiveautomation.com/t/how-to-get-live-tag-last-value-changed-and-timestamp-using-system-tag-querytaghistory/42940/1 "2021-02-03T06:43:57Z")

</div>

I don’t know how to use system.tag.queryhistory to get tha live tag last changed value and timestamp and write that value to a text filed. Can any one help me how to use that query to write to text filed
