Answers for "Date Format Types php"

PHP
1

php date format

$originalDate = "2017-03-08";
$newDate = date("d/m/Y", strtotime($originalDate));
Posted by: Guest on May-13-2021
-1

date format in php

date('m/d/Y h:i:s a',strtotime($val['EventDateTime']));
Posted by: Guest on July-11-2021

Browse Popular Code Answers by Language