[ create a new paste ] login | about

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

PHP, pasted on Nov 11:
1
2
3
4
5
6
<?php 
$start_time= date("U", strtotime("11/11/11 12:53"));
 $endtime = date("U",strtotime("11/11/11 12:59"));
 echo date("d:m:y G:i:s",$endtime - $start_time);

?>


Output:
1
01:01:70 0:06:00


Create a new paste based on this one


Comments: