Re: convert 2 dates to number of hours
| From: | Chris Boget | Date: | Mon, 30 Sep 2002 15:13:58 +0000 |
| Subject: | Re: convert 2 dates to number of hours | ||
| References: | 1 | Groups: | php.db |
| Request: | Send a blank email to php-db+get-22095@lists.php.net to get a copy of this message | ||
> Hello, how can i calculate the number of hours between 2 dates,
( $unixDateTimeTo - $unixDateTimeFrom ) * 60 * 60
> and better yet , the work hours ( example from 8.30am to 6pm excluding
> weekends)
This would be more involved. Are you trying to find out how many work
hours there were between 2 dates?
Chris