Hi,

I'm having trouble doing calculations with times. All I want to do is to be able to 
add x minutes to a time and compare with another time. Trouble is I'm getting some 
time values from an IB DateTime column, comparing with times in a double var that I've 
added x minutes to etc, some formatted with 'hh:nn am/pm' etc etc

Is there a tried and tested method of standardising time values and performing simple 
arithetic on them ?

What I'm doing is working 95% of the time. The problem I have seems to be related to 
seconds which I am not interested in and/or rounding of some values.

TIA
Andrew
Clinical Solutions Ltd
Unit L, 11 Piermark Dr
Albany
Auckland, NZ
Ph: +64-9-476-0106
Fax: +64-9-476-0108 
e: [EMAIL PROTECTED]

---------------------------------------------------------------------------
    New Zealand Delphi Users group - Delphi List - [EMAIL PROTECTED]
                  Website: http://www.delphi.org.nz

Reply via email to