# system.tag.queryTagHistory Interval Seconds

**URL:** <https://forum.inductiveautomation.com/t/system-tag-querytaghistory-interval-seconds/15166>\
**Category:** Ignition\
**Created:** [August 25, 2017, 8:40pm UTC](https://forum.inductiveautomation.com/t/system-tag-querytaghistory-interval-seconds/15166 "2017-08-25T20:40:54Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![plarochelle](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/plarochelle/32/29608_2.png) [@plarochelle](https://forum.inductiveautomation.com/u/plarochelle)\
**Post date:** [August 25, 2017, 8:40pm UTC](https://forum.inductiveautomation.com/t/system-tag-querytaghistory-interval-seconds/15166/1 "2017-08-25T20:40:54Z")

</div>

Is there anyway to specify an interval in seconds using the system.tag.queryTagHistory function? The documentation only has options for hours and minutes: [https://docs.inductiveautomation.com/display/DOC79/system.tag.queryTagHistory](https://docs.inductiveautomation.com/display/DOC79/system.tag.queryTagHistory)

---

<div class="post-metadata">

**Author:** ![plarochelle](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/plarochelle/32/29608_2.png) [@plarochelle](https://forum.inductiveautomation.com/u/plarochelle)\
**Post date:** [August 25, 2017, 8:50pm UTC](https://forum.inductiveautomation.com/t/system-tag-querytaghistory-interval-seconds/15166/2 "2017-08-25T20:50:21Z")

</div>

Now that I think about it I guess I could use system.date.secondsBetween and then divide by the desired seconds and then set the row count instead of the interval. Would still be nice to have seconds as an interval option.

---

<div class="post-metadata">

**Author:** ![paul-griffith](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/paul-griffith/32/37249_2.png) [@paul-griffith](https://forum.inductiveautomation.com/u/paul-griffith)\
**Post date:** [August 25, 2017, 9:15pm UTC](https://forum.inductiveautomation.com/t/system-tag-querytaghistory-interval-seconds/15166/3 "2017-08-25T21:15:14Z")

</div>

There’s an internal ticket (at fairly low priority) to bring this feature to parity - so at some point in the future this should be added.  
For now, as you came up with, defining a fixed return size is the best solution.
