public static function validateDatetimeIso8601($data, callable $filter=null) {
        if ( DateTime::createFromFormat(DateTime::ATOM, $data) === false ) return false;
        return self::applyFilter($data, $filter);
    }
public static function validateDatetimeIso8601($data, callable $filter=null) {
        if ( DateTime::createFromFormat(DateTime::ATOM, $data) === false ) return false;
        return self::applyFilter($data, $filter);
    }
public static function validateDatetimeIso8601 ( $ data , callable $ filter = null ) { if ( DateTime :: createFromFormat ( DateTime :: ATOM , $ data ) === false ) return false ; return self :: applyFilter ( $ data , $ filter ) ; }
Iso8601-datetime validator.

@param mixed $data Data to validate
@param callable $filter Custom filter
@return bool
Iso8601 - datetime validator .