©
本文檔使用 php中文網手册 發布
The current timestamp can be accessed with {$smarty.now}. The number reflects the number of seconds passed since the so-called Epoch (January 1, 1970) and can be passed directly to date_format modifier for display purposes.
Example 4-7. using {$smarty.now}
|