Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
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
Comment #2
jvandervort CreditAttribution: jvandervort commentedIs you need to use the server time, use the 'interval' timer type.
And generate the value of the interval using your server time duration.