[ create a new paste ] login | about

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

PHP, pasted on Sep 1:
1
2
3
4
5
6
<?php

$minutes = '2011-08-31 21:02:15';
echo (int)((time()-strtotime($minutes))/60);

?>


Output:
1
264


Create a new paste based on this one


Comments: