[PHP-DB] Re: subtracting times

2003-03-08 Thread Edwin Boersma
I see 2 replies Edwin David Rice wrote: I know I asked this before buy no-one gave me an answer i was looking for, I want to subtract two times and the ammount of hours worked to 2decimal places (3.41 hours) cheers, dave _

Re: [PHP-DB] Re: subtracting times (solution)

2003-03-08 Thread David Rice
It took me about 30 mins but after 2 attempts i came up with a function that subtracts 2 times to give an answer in hours, to two decimal places. thanks for your help the two people who responded when i posted the question, your suggestions were a bit out on a tangent from what i wanted. But