# Need Help with a Continuous Counter

**URL:** <https://forum.kirupa.com/t/need-help-with-a-continuous-counter/315840>\
**Category:** flash\
**Created:** [November 5, 2010, 1:08pm UTC](https://forum.kirupa.com/t/need-help-with-a-continuous-counter/315840 "2010-11-05T13:08:06Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Jazzer30](https://avatars.discourse-cdn.com/v4/letter/j/f19dbf/32.png) [@Jazzer30](https://forum.kirupa.com/u/Jazzer30)\
**Post date:** [November 5, 2010, 1:08pm UTC](https://forum.kirupa.com/t/need-help-with-a-continuous-counter/315840/1 "2010-11-05T13:08:06Z")

</div>

Hi, I’m looking to create a continuous counter and I’m having some trouble with the syntax of the formula. Basically I have a “Start Date & Time” and a “Start Number” I also Have a PHP scrip that will bring in the “Current Time” and a “Rate of Change” (.62/sec).

This is what I think the formula might look like (not in code):

Current Time - Start Time = # of seconds  
(# of seconds x Rate of Change) + Original Number = Final Number

Thank you for any help.
