| Bizarre date/time logics|
Can anyone give me an explanation as to why the following first assert fails? (i use D7), , var dt1, dt2: TDateTime;, begin, dt1 := Now;, dt2 := IncHour(dt1, 1);, Assert(HoursBetween(dt1, dt2) = 1, '1st assert!');, , dt1 := Now;, dt2 := IncHour(dt1, 2);, Assert(HoursBetween(dt1, dt2) = 2, '2nd assert!');
|8 replies. Last post:|
I cast a vote, too.
The bug(s) are very well documented in this QC report, and good fixes have been suggested. This is difinitely an area that needs attention.