Answers for "how to convert date format in ph"

PHP
0

convert date in php

$originalDate = "2010-03-21";
$newDate = date("d-m-Y", strtotime($originalDate));
Posted by: Guest on February-27-2020

Code answers related to "how to convert date format in ph"

Browse Popular Code Answers by Language