Jump to content

Date / Time Difference


stig1

Recommended Posts

Hey guys,

 

What i would like to create is the ability to calculate the difference between two dates / times.

 

For example: 2010-12-13 10:00:00 to 2010-12-17 17:00:00

 

In a format of days / hours and minutes / seconds.

 

However, I only want to calculate for an 9-5 work day, not the hours outside. Is this possible? If so, how would I go about creating something like this.

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