string _sanitize(
string
$value)
|
|
Forces the value to an ISO-8601 formatted date ("yyyy-mm-dd").
Tags:
Overrides
KFilterTimestamp::_sanitize() (Forces the value to an ISO-8601 formatted timestamp using a space separator ("yyyy-mm-dd hh:ii:ss") instead of a "T" separator.)
Parameters:
bool _validate(
scalar
$value)
|
|
Validates that a 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).
Tags:
Overrides
KFilterTimestamp::_validate() (Validates that the value is an ISO 8601 timestamp string.)
Parameters: