|
Smarty
WARNING: All discussion is moving to https://reddit.com/r/smarty, please go there! This forum will be closing soon. |
|
View previous topic :: View next topic |
Author |
Message |
Tarek Smarty Rookie
Joined: 07 Jan 2006 Posts: 5
|
Posted: Sat Jan 07, 2006 7:44 pm Post subject: days counter Project , needs help . |
|
|
hello :
i am trying to make an equavalent smarty code to this PHP code :
Code: | <? printf("%d",(time() - strtotime(DATE_STARTED)) /(60*60*24)); ?> |
DATE_STADTED
Code: | define('DATE_STARTED','26 August 2005'); |
but when i tried to do this code with smarty , i got stuck , any suggestions ?[/php] _________________ great hosts |
|
Back to top |
|
::downtown:: Smarty Rookie
Joined: 20 May 2005 Posts: 33 Location: Berlin
|
|
Back to top |
|
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
Powered by phpBB © 2001, 2005 phpBB Group
|