Re: [SMARTY] A quick look at formatting minutes
| From: | Mirko Buffoni | Date: | Wed, 21 Aug 2002 14:04:41 +0000 |
| Subject: | Re: [SMARTY] A quick look at formatting minutes | ||
| Groups: | php.smarty.general | ||
| Request: | Send a blank email to php-smarty-general+get-5795@lists.php.net to get a copy of this message | ||
> return "\necho '" . $smarty->_current_file . " compiled at " .
>date('d-m-Y H : M'). "';";
>}
>?>
>
>Produces this wrong output:
>21-08-2002 14 : Aug
>Instead:
>21-08-2002 14 : 50
Nothing strange, cause:
i - minutes; i.e. "00" to "59"
m - month; i.e. "01" to "12"
M - month, textual, 3 letters; e.g. "Jan"
Mirko