# Last published value

**URL:** <https://forum.inductiveautomation.com/t/last-published-value/67501>\
**Category:** Ignition\
**Tags:** ignition81, scripting, perspective\
**Created:** [December 12, 2022, 2:36pm UTC](https://forum.inductiveautomation.com/t/last-published-value/67501 "2022-12-12T14:36:50Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![ccorrea](https://avatars.discourse-cdn.com/v4/letter/c/919ad9/32.png) [@ccorrea](https://forum.inductiveautomation.com/u/ccorrea)\
**Post date:** [December 12, 2022, 2:36pm UTC](https://forum.inductiveautomation.com/t/last-published-value/67501/1 "2022-12-12T14:36:50Z")

</div>

Hi folks, good morning. How can I access this info through scripting?

![image](https://us1.discourse-cdn.com/inductiveautomation/original/3X/6/b/6b0ec1c348b2809b8ed043ef907635589e13cbc6.png)

Tried tag.timestamp(), but that basically returns a timestamp very close to the current moment, not the last time the -memory- tag was updated.

Thanks!

---

<div class="post-metadata">

**Author:** ![pturmel](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/pturmel/32/3295_2.png) [@pturmel](https://forum.inductiveautomation.com/u/pturmel)\
**Post date:** [December 12, 2022, 2:42pm UTC](https://forum.inductiveautomation.com/t/last-published-value/67501/2 "2022-12-12T14:42:53Z")

</div>

When you read a tag's value from scripting, you get a `QualifiedValue` that includes `.value`, `.quality`, and `.timestamp`.

---

<div class="post-metadata">

**Author:** ![ccorrea](https://avatars.discourse-cdn.com/v4/letter/c/919ad9/32.png) [@ccorrea](https://forum.inductiveautomation.com/u/ccorrea)\
**Post date:** [December 12, 2022, 2:54pm UTC](https://forum.inductiveautomation.com/t/last-published-value/67501/3 "2022-12-12T14:54:20Z")

</div>

Thanks Phil...newbie mistake; was on the right path and got it working now. Regards.
