public static function getDateTime($date)
    {
        $_date = time();

        if (isset($date) && self::isValidDate($date)) {
            $_date = strtotime(preg_replace('/\(.*?\)/', '', $date));
        }

        return date('Y-m-d H:i:s', $_date);
    }
public static function getDateTime($date)
    {
        $_date = time();

        if (isset($date) && self::isValidDate($date)) {
            $_date = strtotime(preg_replace('/\(.*?\)/', '', $date));
        }

        return date('Y-m-d H:i:s', $_date);
    }
public static function getDateTime ( $ date ) { $ _date = time ( ) ; if ( isset ( $ date ) && self :: isValidDate ( $ date ) ) { $ _date = strtotime ( preg_replace ( '/\(.*?\)/' , '' , $ date ) ) ; } return date ( 'Y-m-d H:i:s' , $ _date ) ; }
Get date time
@param string $date
@return false|string
Get date time