Re: DT_DATE_TIME_DURATION usage
Berend de Boer <[email protected]> Thu, 29 May 2008 22:41:45 +1200
| Newsgroups | gmane.comp.lang.eiffel.gobo.general |
|---|---|
| Message-ID | <[email protected]> |
>>>>> "Eric" == Eric Bezault <ericb-D6Qt/9opevxWk0Htik3J/[email protected]> writes: >> Is there any other way to get the seconds between these two >> dates? Perhaps DT_DATE_TIME should have an epoch_time feature >> which returns the number of seconds, that would make such >> calculations far more trivial. Eric> Or you will get overflow because the number of seconds is too Eric> large to fit into an integer. Well, epoch does INTEGER_64 now. And this was another comment, that perhaps we should move to INTEGER_64 for certain fields, such as seconds and milliseconds. -- Cheers, Berend de Boer [Non-text portions of this message have been removed]