codehaven - php snippets - coding help
Generic filters
Exact matches only

Date convert format from dd/mm/yy to yyyy-mm-dd

4th July 2013

Php - Dates & Time

php codehaven

Another version to create new time format is here

Convert to any format

Reverse timestamp format, this will just show ’27-02-2015′.

This outputs 2013-07-12

If this does not work for you try this!

Was this code snippet helpful?