Change Date Format


function format_date($date){
        if($date == null){
            return false;
        } else {
            return date("d/m/Y", strtotime($date));
        }
}

How to call

$this->format_date('2017-12-09'); //return 09/12/2017
Comment / Response

Your Comment / Response