codepad
[
create a new paste
]
login
|
about
Link:
http://codepad.org/7OQwgMle
[
raw code
|
output
|
fork
]
PHP
,
pasted on Mar 27:
1
2
3
<?php
echo
date
(
'Y-m-d H:i:s'
,
strtotime
(
"03/16/2012 03:22PM"
));
?>
Output:
1
2012-03-16 15:22:00
Create a new paste based on this one
Comments: