Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PHP

php date strtotime format

$date = '25/05/2010';
$date = str_replace('/', '-', $date);
echo date('Y-m-d', strtotime($date));
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #php #date #strtotime #format
ADD COMMENT
Topic
Name
1+2 =