Calculating the difference between timestamps in PHP

Filed Under (PHP) by Subesh Pokhrel on 08-06-2008

Tagged Under : ,

Most of us, programmer have conditions of calculating the difference between timestamps, i.e the difference between now and the timestamp from mysql result. The logic for this is pretty simple. Just convert the two timestamps to Unix time format and take the difference between the two. Next convert the difference into corresponding days,hour,minutes or in any unit you want to. Read the rest of this entry »

Theme Modified By Self based on BlueUzor & BlueMechanics.