thank you for your help,

i figured this out : SELECT id, to_days(t1.closedate) - to_days(t1.date) 
FROM tracking AS t1

...

yes i am .. whe are using the IRM <http://irm.schoenefeld.org/> for 
internal help desk  and im creating event reports ...

it only makes sense to include in the calculations the work hours so 
thats what im trying to do, to make the reports more viable ....




Chris Boget wrote:

>>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
>
>
>
>  
>

Reply via email to