How To Know the Difference or Time Duration Between Two Dates in PHP

Have you ever got difficulty when you want to calculate the difference or the time duration between two dates by using PHP? For example, the first date is ’2009-12-01 11:12:13′, and the second date is ’2009-12-04 14:15:16′, so the difference or the time duration between this two dates will give a result as: ’3 Day(s), [...]

Share
[Read more...]

Sum Time with Format hh:mm:ss by Using PHP

Have you ever got the difficulty when you want to sum the two time and display its result with format hours:minutes:seconds by using PHP? Well, now you don’t have to worry about it. This following code will give you the solution.

Share
[Read more...]

Add Post Number, Sender Name, and Time Duration in Each Message of osTicket

Both osTicket version 1.6 RC4 and 1.6 RC5 have not included the post number, the sender name of client, and duration time in each message. That is why I made this modification. It is important for you as staff or admin of your ticketing system, if you want to know quickly how much time needed [...]

Share
[Read more...]