Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PHP

convert string to date php

$s = '08/11/2010 19:37:02';
$date = strtotime($s);
echo date('Y-m-d H:i:s', $date);
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #convert #string #date #php
ADD COMMENT
Topic
Name
4+2 =