# How to write expression similar to the TimeEq Function in OsiPI

**URL:** <https://forum.inductiveautomation.com/t/how-to-write-expression-similar-to-the-timeeq-function-in-osipi/27573>\
**Category:** Ignition\
**Created:** [August 19, 2019, 3:47pm UTC](https://forum.inductiveautomation.com/t/how-to-write-expression-similar-to-the-timeeq-function-in-osipi/27573 "2019-08-19T15:47:11Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![markerr](https://avatars.discourse-cdn.com/v4/letter/m/ba8739/32.png) [@markerr](https://forum.inductiveautomation.com/u/markerr)\
**Post date:** [August 19, 2019, 3:47pm UTC](https://forum.inductiveautomation.com/t/how-to-write-expression-similar-to-the-timeeq-function-in-osipi/27573/1 "2019-08-19T15:47:11Z")

</div>

I am trying to write an expression that gets the time throughout the day when a feeder is both on and the feed rate is above 90%. I have the tags for the speed and on/off already in ignition. I have used a historian function TimeEq in OsiPI to solve for this, but I was wondering if there is a way to write a similar expression in ignition as we don’t have a historian node at this site?
