Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PHP

php create 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 #create #format
ADD COMMENT
Topic
Name
8+1 =