|
Previous Page |
Solar_Filter_ValidateIsoDate |
Next Class |
validateIsoDate()
public
bool
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).