Answer the question
In order to leave comments, you need to log in
Answer the question
In order to leave comments, you need to log in
The fact that in PHP there is no "date format".
There is a function strtotime that tries to guess what date you meant.
You never have to guess, you always have to know for sure.
Therefore, either change the original format, or parse it manually. date_create_from_format(), or if you're afraid of objects, then explode()
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question