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

Popular posts from this blog

html - How to style widget with post count different than without post count -

How to remove text and logo OR add Overflow on Android ActionBar using AppCompat on API 8? -

javascript - storing input from prompt in array and displaying the array -