Which function would I use to convert custom formatted dates back to Unix Epoch time?
For example:
(\"Ymd\") -> (\"U\");
I looked a
You can use DateTime::createFromFormat():
$date = DateTime::createFromFormat('Ymd', '20140525'); echo $date->format('U');