Jump to content

figuring out time as a whole number


envexlabs

Recommended Posts

Hey,

 

I have a script that figures out the difference between 2 times.

 

So lets say i have a time difference of 2:36.

 

I need to figure out what 2:36 would be in number form and i'm not a math whiz.

 

So if 1:15 would be 1.25 as a number, how would i figure out all the other numbers.

 

Sorry if this is confusing, it's kind of hard to explain.

 

Thanks,

 

envex.

 

Link to comment
https://forums.phpfreaks.com/topic/107320-figuring-out-time-as-a-whole-number/
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.