I'm using this:
StartTime, EndTime, CloseTime : TDateTime;
StartTime := NOW;
EndTime := NOW;
CloseTime := NOW;
Label1.caption := FormatDateTime(HH:MM:SS, EndTime-StartTime);
This works great. But
Label2.caption := FormatDateTime(HH:MM:SS, CloseTime+EndTime);
adds the hours, minutes, and seconds together (as expected). I need a method to add the total time of Starttime with EndTime.
Ex: if Start time is 00:00:02 and end time is 00:00:10 then label2 should show 00:00:12 ( I need this to show corrctly also if the time goes into the minutes section, or the hour section.
Is there a way to do this?