Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PHP

format date in php

$myDateTime = DateTime::createFromFormat('Y-m-d', $dateString);
$newDateString = $myDateTime->format('d-m-Y');
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #format #date #php
ADD COMMENT
Topic
Name
9+9 =