> 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



-- 
PHP Database Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to