At 00:52 6/29/2005, soonhuat ong wrote: > >How do i calculate the differences between 2 time ? >Let's say: >Time1 = 13:00 >Time2 = 12:00 > >The difference is 1:00 hour > >I try (Time1 - Time2), and it works fine.. >But when the total difference less than 1 hour, it give me difference result: >For eg: >Time3 = 14:30 >TIme4 = 14:00 > >(Time4 - Time3) will give me 12:30 .. what i want is 00:30. ANy idea ??
Are you doing these calculations in a DateTime format? http://www.delphibasics.co.uk/ByFunction.asp?Main=DatesAndTimes&Sub=Calcs Start Here to Find It Fast! -> http://www.US-Webmasters.com/best-start-page/ $8.77 Domain Names -> http://domains.us-webmasters.com/ ----------------------------------------------------- Home page: http://groups.yahoo.com/group/delphi-en/ To unsubscribe: [EMAIL PROTECTED] Yahoo! Groups Links <*> To visit your group on the web, go to: http://groups.yahoo.com/group/delphi-en/ <*> To unsubscribe from this group, send an email to: [EMAIL PROTECTED] <*> Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/

