Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PHP

php date from format

<?php
$date = DateTime::createFromFormat('j-M-Y', '15-Feb-2009');
echo $date->format('Y-m-d');
?>
Source by www.php.net #
 
PREVIOUS NEXT
Tagged: #php #date #format
ADD COMMENT
Topic
Name
9+1 =