[ create a new paste ] login | about

Link: http://codepad.org/AFZ6jel7    [ raw code | output | fork ]

PHP, pasted on Feb 24:
1
2
3
4
5
6
<?php
$date='02-13-2011';


echo date('m-d-Y',strtotime($date));
?>


Output:
1
01-01-1970


Create a new paste based on this one


Comments: