The Code-Bin
Time Difference
Posted by: Stephen | February 18, 2007 @ 1:06pm

PHP Code



Syntax Highlighting





Author Comments
This code will calculate the difference in days, hours, minutes, and seconds between a certain time and now.

Example output: 4 hours 13 minutes 7 seconds
Rating


4.50 / 8
543 Votes