Jump to content

time differents


crashmaster

Recommended Posts

Hi,

I need help in "time" question.

 

I have a file, which contains this  2007-12-19||14:55:05

What I want to do is to get difference between date and time now, and date and time stored in the files...

Difference should be in minutes...

 

for ex:

 

file.txt =>

2007-12-19||14:55:05

 

now:

2007-12-19||22:00:05

 

 

Difference = (file.txt - now) = 7h 5min = 425min

 

Can somebody help me? thanks

 

Link to comment
https://forums.phpfreaks.com/topic/82396-time-differents/
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.