-1

I want to be able to increment a number value within a everyday as soon as it hit's midnight. So I'm assuming it would use the date() and jQuery?

Here is the current static code I have:

<div class="chart">
            <div class="percentage" data-percent="107"><span>107</span></div>
            <div class="label">Coffees in 2013</div>
        </div>

1 Answers1

0

You will need to use server side datatime or access the time by finding the region of request (could be through ip) as the machine time by javascript could could be different from actual time.

Adil
  • 146,340
  • 25
  • 209
  • 204