dates with smarty?
| From: | Amanda Hemmerich | Date: | Mon, 08 Aug 2005 19:27:31 +0000 |
| Subject: | dates with smarty? | ||
| Groups: | php.smarty.general | ||
| Request: | Send a blank email to php-smarty-general+get-12926@lists.php.net to get a copy of this message | ||
Is there a way to test dates in Smarty? I want to test a date, and if it fits a certain criteria (in the future and less than 2 months away), display it differently (but within the same list, so using the same query) than the other dates.
I did a search for dates on smarty.php.net and could only find stuff on formatting dates.
Thanks!
Amanda