public static function sql2date($date, $format = '%d/%m/%Y')
    {
        if (empty($date)) {
            return null;
        }
        $dt = new self();
        $dt->set_date($date);
        
        return $dt->format($format);
    }