Helper Function:
if(!function_exists('dateFormat'))
{
function dateFormat($format='d-m-Y', $Date=null)
{
return date($format, strtotime($Date));
}
}
View Part:
dateFormat('d-m-Y',$info->createdDtm);
Helper Function:
if(!function_exists('dateFormat'))
{
function dateFormat($format='d-m-Y', $Date=null)
{
return date($format, strtotime($Date));
}
}
View Part:
dateFormat('d-m-Y',$info->createdDtm);
Comments
Post a Comment