PHP Convert formatted date into unixtime -


this question has answer here:

i have dates in format y-m-d hour-minute-second 2013-09-03 12:10:28, need unixtimestamp.

php has slough of functions transforming dates , times, apprently none can accept date , format , convert unixtime. closest function found mktime(), need parse current date each of components. there easier way?

strtotime('2013-09-03 12:10:28');


Comments