\Dewdrop\FilterIsoTimestamp

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.

Summary

Methods
Properties
Constants
filter()
No public properties found
No constants found
No protected methods found
No protected properties found
N/A
No private methods found
No private properties found
N/A

Methods

filter()

filter(string  $value) : null|string

Filter the supplied input string to an ISO date.

Parameters

string $value

Returns

null|string