php changr date format

Solutions on MaxInterview for php changr date format by the best coders in the world

showing results for - "php changr date format"
Henri
25 Jan 2016
1$originalDate = "2010-03-21";
2$newDate = date("d-m-Y", strtotime($originalDate));