Jump to content

Needed Help : Date Diffrence calculation


inversesoft123

Recommended Posts

I am storing date in the format

 

$day=date("U");

 

Into the database

 

Now, In the code of toplist I want to print time diffrence of reset.

 

Like last reset before

 

0 days 0 hrs 15 mins and 45 seconds.

 

How to do that ? Please give me direction.

 

Much thanks in Advance :)

Link to comment
https://forums.phpfreaks.com/topic/196244-needed-help-date-diffrence-calculation/
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.