How to query historical data at a certain time in Ignition

My database is mysql. If I want to know the value of a tag at a specific time (e.g.2019-3-5 08:00:00), how do I do that in Ignition.

Use system.tag.queryTagHistory to get historical tag values as stored by enabling history in tag configuration. Or system.tag.queryTagCalculations to get a single value.

1 Like