| ||||||||||
![]() |
Shopping cart software Solutions for online shops and malls | |||||||||
![]() |
![]() |
|
X-Cart Home | ![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
creating a server time based countdown | |||
![]() |
|
|
Thread Tools | Search this Thread |
#1
|
|||||||
|
|||||||
![]() 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
__________________
x-cart 4.0.5 (live and heavily modded) Server: freebsd |
|||||||
#2
|
|||||||||
|
|||||||||
![]()
__________________
Looking for a reliable X-cart host ? You wont go wrong with either of these. ![]() ![]() |
|||||||||
|
|||
X-Cart forums © 2001-2020
|