Topics

format_date modifier

$date|format_date will format the selected date for display.  The default format is the Display Date format from site configuration, but you may also use the 'format' parameter

{$query->timestamp|format_date}
{$listing->unpublish|format_date:"%B %e, %Y"}
{$session->start_time|format_date:$smarty.const.DISPLAY_DATETIME_FORMAT}
Loading Help