![]() |
creating a server time based countdown
Does anyone know how to do this.
I know you can use smarty php to display the time from the server (i. not use javascript which will show the time based on the customers PC clock) with {$smarty.now|date_format:"%Y-%m-%d %H:%M:%S"} but does anyone know how to do a countdown to a specific time or date. For example we have a sale that will end at midnight tonight so we want to display This sale will end in: hh:mm any ideas |
|
All times are GMT -8. The time now is 11:13 AM. |
Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.