Answers for "phph convert any date format into dat object"

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