>Hi,
> If i want the total duration time result in hours, how? That,
>means the minutes and seconds will convert to hours and the result in hours will have decimal point !!!
> Actually i want to use the results of duration time to do a calculation that is based on hour !!
>thanks
an hour is 3600 seconds, so:
tStartTime= DATETIME()
* do something
nTimeInHours = (DATETIME()-tStartTime)/3600
>
>regard,
>chang