Solar_Filter_ValidateIsoDate::validateIsoDate()
public
bool
Solar_Filter_ValidateIsoDate::validateIsoDate
( mixed $value
)
Validates that the value is an ISO 8601 date string.
Parameters
(mixed)
$value
: The value to validate.
Returns
(bool) True if valid, false if not.
Description
Validates that the value is an ISO 8601 date string.
The format is "yyyy-mm-dd". Also checks to see that the date itself is valid (for example, no Feb 30).