I'm displaying countdown timer on an auction site. The timer is supposed to show the time left for that auction to be over. But I got to know that the timer is displayed by comparing the user's machine time and not the server time.
Can you please suggest how to overcome this problem?

Comments

AkshayAdhav created an issue. See original summary.

jvandervort’s picture

Status: Active » Closed (works as designed)

Is you need to use the server time, use the 'interval' timer type.

<span class="jst_timer">
 <span style="display:none" class="interval">22</span>
</span>

And generate the value of the interval using your server time duration.