Answers for "transform date in php"

PHP
0

convert date in php

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

Browse Popular Code Answers by Language