| ||||||||||
![]() |
Shopping cart software Solutions for online shops and malls | |||||||||
![]() |
![]() |
|
X-Cart Home | ![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
Is there a "Time" variable? | |||
![]() |
|
|
Thread Tools | Search this Thread |
#1
|
|||||||||
|
|||||||||
![]() i want to display the user's time (hour/minute) in the header but im not sure how to do it.. i imagine its got to be a variable, right?
also how about date? or do i just have to use php to call it from the server?
__________________
X-Cart 4.0.12 PHP 4.3.11 MySQL 4.0.23 Linux/Apache Net::SSLeay 1.25 libCURL libcurl/7.12.0 OpenSSL/0.9.7a zlib/1.1.4 www.ewdhosting.com |
|||||||||
#2
|
|||||||
|
|||||||
![]() I would like to know something similair, this time pull the time from the server.
So for example I can say in shipping, Next day delivey is availble to people who place an order before 3pm GMT and then I can show what the current time is by using a script which shows the servers time (server is based in the UK).
__________________
x-cart 4.0.5 (live and heavily modded) Server: freebsd |
|||||||
#3
|
|||||||||
|
|||||||||
![]() its something like
Code:
__________________
Looking for a reliable X-cart host ? You wont go wrong with either of these. ![]() ![]() |
|||||||||
#4
|
|||||||||
|
|||||||||
![]() thanks shan! that works nicely
*Smacks self* i realize now i should have checked the smarty website first before asking... heres a list of all the modifiers from smarty documentation: Quote:
__________________
X-Cart 4.0.12 PHP 4.3.11 MySQL 4.0.23 Linux/Apache Net::SSLeay 1.25 libCURL libcurl/7.12.0 OpenSSL/0.9.7a zlib/1.1.4 www.ewdhosting.com |
|||||||||
|
|||
X-Cart forums © 2001-2020
|