IT SOLUTIONS
Your TECHNOLOGY partner! 
-Collapse +Expand
Message Boards
Tech Search:

Advanced
-Collapse +Expand Message Boards
-Collapse +Expand More Board Options
-Collapse +Expand My Moderator Settings
MODERATOROPTONS

BOARDSTATS
Posts: 14466
Threads: 4394
Topics: 94
Boards: 32
Groups: 32
 

Prestwood eMagazine

May Edition
Subscribe now! It's Free!
Enter your email:

   ► MB Lobby ►     Print This   

Bizarre date/time logics Posts

"Bizarre date/time logics" Message Board Posts


Thread 1 of 1

hyp3n0zy5
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!');
Posted to MB Topic: Delphi Object PASCAL « Delphi Board
7 years ago
8 replies. Last post:

Wes
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.
7 years ago
Nothing New Since Your Last Visit
3282
Hits
 
-
  Load Time=1 seconds.
 
Print This
-
 
Have a question? Need our services? Contact us now.
--Mike Prestwood

Call: 916-726-5675

email: info@prestwood.com


448 People Online Now!!  
Online Now: Sign In to see who's online now!  Not a member? Join now. It's free!
Show More...


©1995-2013 PrestwoodBoards  [Security & Privacy]
Professional IT Services: Coding | Websites | Computer Tech