|
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 |
sarahfoxnz Smarty Regular
Joined: 11 Apr 2010 Posts: 76
|
Posted: Sat May 14, 2022 5:17 am Post subject: get a previous year |
|
|
using the TEMPLATE (not PHP file)
is there a way I can get the 'year' into a variable or get the year (5 years ago) into a variable etc?
I do know of $smarty.now - but unsure of how to assign it to a variable so I can do maths on it. |
|
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
|