{if $var} {$var|date_format:$smarty.const.SMARTY_DATE_TIME_FORMAT} {/if}