Subject | Re: [firebird-support] Re: TIME calculation errors |
---|---|
Author | sugi |
Post date | 2005-04-18T23:40:45Z |
> <buzzer> Wrong!Understood.
> It's not "what time did it take" but "how long did it take" or
> "what amount of time did it take" which results in a DURATION.
> The datatype TIME or DATE should not be misused for duration.
> There should be a datatype named "interval" for this.
Perhaps this is just laziness in my part or my Delphi background
showing, since both concepts (DURATION and TIME) in my context can be
treated uniformly at the 'data display' /user interface level (both
displayed as hh:mm:ss).
Delphi's TDateTime construct allows this practice too, so date/time
arithmetic was very convenient and easy. Thank you all for clearing up
the confusion.
Regards,
sugi.