Checks that a string is a valid date representation.
Accepts numeric date values, such as 2010-08-18, 18/08/2010, or 08182010.
Checks that a string is a valid date-month representation.
Accepts both numeric and string values, i.e. both 12 and December.
Checks that a string is a valid currency format.
Accepts US dollars, British pounds sterling, and euros.
Checks that a string is a valid US state or Canadian province.
Accepts abbreviations and full names, i.e. MN and Minnesota.
Checks that a string is a valid time representation.
Accepts a wide range of values, such as:
Checks that a string is a valid URL. Uses filter_var() and FILTER_VALIDATE_URL.
Checks that a value is within the date range specified in $minDate and $maxDate.
Parameters: |
|
---|