Comparing Time Values
I want a method which compares the times, eg if Atime occurs earlier than Btime do something, I would use a CompareTime Function but my problem with this function is what is said in "Bold Brackets" (see below) Call CompareTime to compare the two TDateTime values specified by A and B. CompareTime returns: LessThanValue if A occurs earlier in the day than B ( even if A occurs on a later day than B ). GreaterThanValue if A occurs later in the day than B (even if A occurs on an earlier day than B ). A TDateTime values can be thought of as containing two distinct parts: the date part and the time