Код |
---|
$pased_date = MakeTimeStamp($arItem["ACTIVE_FROM"]); $new_date = '<span class="day">'.FormatDate('d',$pased_date).'</span>'; $new_date .= ' <span class="month">'.FormatDate('M',$pased_date).'</span>'; $new_date .= ' <span class="year">'.FormatDate('Y',$pased_date).'</span>'; |