filter()
filter(string $value) : null|string
Filter the supplied input string to an ISO date.
Parameters
string | $value |
A filter to take anything that can be parsed by GNU Date (via strtotime()) and convert it to an ISO-formatted timestamp that can be used for date values in a DB, etc.