php create from format

Solutions on MaxInterview for php create from format by the best coders in the world

showing results for - "php create from format"
Asma
14 Nov 2016
1
2<?php
3$date = DateTime::createFromFormat('j-M-Y''15-Feb-2009');
4echo $date->format('Y-m-d');
5?>
6
7