Answers for "converting sql date to php date"

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 "converting sql date to php date"

Browse Popular Code Answers by Language