Subject | Re: [firebird-support] Understanding time |
---|---|
Author | Ann W. Harrison |
Post date | 2005-06-27T22:05:15Z |
willogibbo wrote:
that's what we store.
or "CURRENT_DATE", we call localtime. If you need to keep time to some
other standard, I'd suggest using a UDF.
Regards,
Ann
> Hi allFirebird stores local system time. Whatever your OS says the time is,
>
> I am trying to understand the way time is stored in Firebird and how
> to relate it to local time.
that's what we store.
>1858, but that's not a big issue.
> I see in documentation (e.g. Helen's book, page 150) that FB uses two
> components for storing time, namely days from Nov 17, 1898
> and tenNope. If you use 'now', 'today', or CURRENT_TIMESTAMP, or CURRENT_TIME,
> thousandths of seconds from midnight. I am right to presume that this
> is done if effect on a GMT/UTC type basis, so that as FB stores a
> date/time it takes the locale into account and makes the necessary
> adjustment before it stores the time value, and then when the stored
> value is retrieved it also takes the locale into account before display?
or "CURRENT_DATE", we call localtime. If you need to keep time to some
other standard, I'd suggest using a UDF.
Regards,
Ann