Accurate system.tag.queryTagHistory Without Aggregation

We’re trying to call system.tag.queryTagHistory in such a way that it simply returns every value from a specified period (e.g. the start of one day to before the next day).

However, we keep getting a record or two after our end date/time (usually just a few seconds or minutes past).

We’re understanding this probably has to do with intervals in the aggregation method, but is there a better function or way we should be using?

Again, we simply want the values recorded in a given time period only.

1 Like