Subject | Re: [firebird-support] Firebird timestamp data type.. |
---|---|
Author | Arno Brinkman |
Post date | 2004-11-17T13:02:53Z |
> Thanks (Martijn & Helen) I had an attack of "cognitive dissonance" & wasrecorded
> thinking day "zero" had to be the same as the 1st date that can be
> in a FB DB. Of course the quote from your (Helen's) book mentioned it waslast
> stored in a "signed" 32 bit integer which should have clicked.
>
> Now being pedantic (pre-requisite for all decent programmers) I have 1
> point to clarify. Is the "base" mentioned in Ann's "17 November 1858 asthe
> base of FB's DATE", base 0 or base 1 (when I went to school we learned toSee yourself :
> count from 1) or in other words, is it the 16 November 1858 or the 17
> November 1858 which has the honour of being stored in FB as 0 (zero)?
>
> This is a serious question!
SELECT
CAST(CAST('00:00' AS TIME) + 0 AS TIMESTAMP)
FROM
RDB$DATABASE
Regards,
Arno Brinkman
ABVisie
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Firebird open source database (based on IB-OE) with many SQL-99 features :
http://www.firebirdsql.org
http://www.firebirdsql.info
http://www.fingerbird.de/
http://www.comunidade-firebird.org/
Support list for Interbase and Firebird users :
firebird-support@yahoogroups.com
Nederlandse firebird nieuwsgroep :
news://newsgroups.firebirdsql.info