• I am in need of a plugin (or any other practical solution) for a page with daily stats which auto-increments hourly (or daily).

    I guess I need just a basic counter, but which updates automatically based on my instructions (Example: “CounterA increase by 3 every 24 hours”, “CounterB increase by 3500 every 3 hours”)

    I have been googling and trying some counter plugins and number plugins but so far without luck.

    Please can anyone help me?

    • This topic was modified 4 years, 12 months ago by Jan Dembowski.
Viewing 1 replies (of 1 total)
  • Moderator bcworkz

    (@bcworkz)

    If a value is rigidly incremented at regular intervals, instead of maintaining a counter, you could just have a bit of code that calculates what the count should be. For example, determine how long it has been since a specific time in hours. Divide that by 8 to get a count equivalent to incrementing 3 times a day.

    It’s really more of a “stopwatch” with arbitrary time intervals than a counter. A matter of semantics I suppose.

Viewing 1 replies (of 1 total)
  • The topic ‘Auto-increment plugin/function?’ is closed to new replies.