Chủ Nhật, 21 tháng 7, 2013

Joomla Current Date Format

Insert code to PHP file

$date = JFactory::getDate();
$format = "%A, %d %B %Y";//Chu nhat, 21 Tháng 7 2013            
echo $date->toFormat($format);

0 nhận xét:

Đăng nhận xét