Last published value

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

image

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!

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

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