string|void smarty_modifier_date_format(
string $string, [string $format = "%b %e, %Y"], [string $default_date = null])
|
|
Smarty date_format modifier plugin
Type: modifier
Name: date_format
Purpose: format datestamps via strftime
Input:
- string: input date string
- format: strftime format for output
- default_date: default date if $string is empty
Tags:
Parameters
string |
$string |
|
string |
$format |
|
string |
$default_date |
|