Default value for date_format
| From: | G | Date: | Mon, 17 Jun 2002 18:56:40 +0000 |
| Subject: | Default value for date_format | ||
| References: | 1 | Groups: | php.smarty.general |
| Request: | Send a blank email to php-smarty-general+get-4908@lists.php.net to get a copy of this message | ||
Hello-
Is there a way to have date_format print out a default value - such as
nothing - if a variable doesn't contain a valid date (like an empty string)?
Right now it appears to output the current date by default.
Gerard