public static function unformat($userDate = null)
    {
        if ($userDate) {
            $date = DateTime::createFromFormat(config('settings.dateFormat'), $userDate);

            return $date->format('Y-m-d');
        }
    }