Subject | Re: FB Server and timezone on Win32 |
---|---|
Author | russellbelding |
Post date | 2004-10-20T20:44:25Z |
--- In firebird-support@yahoogroups.com, Daniel Rail <daniel@a...>
wrote:
Successive calls to display the CURRENT_TIMESTAMP variable show the
values's minutes changing. So the behaviour is not related to being
inside a single transaction.
At least it appears the FB engine is unaware of a manual change to
its Win32 host's timezone.
Kind regards
Russell
wrote:
> Hi,Guardian
>
> At October 20, 2004, 15:50, russellbelding wrote:
>
> > I am wondering about the date and time services in the FB engine,
> > when the timezone is changed on the server hosting the FB engine.
>
> > Using
> > a. FB 1.5.1.4481 on MS Server 2003 running as a sevice with
> > also running.and
> > b. Win2K client with IBO 4.3Aa and delphi
>
> > An application asks the FB server for the FB CURRENT_TIMESTAMP
> > displays it.the
>
> > On the server change the timezone to shift it several hours on
> > same day. During this leave the FB server running.shows
>
> > Back on the client ask for the FB Engine Current_Timestamp. It
> > time for the previous timezone setting.your
>
> Are both instances of fetching CURRENT_TIMESTAMP within the same
> transaction? If your answer is yes, then there's your answer to
> question. CURRENT_TIMESTAMP is a transaction context variable,Hello Daniel
> basically it's gets assigned at the beginning of a transaction and
> doesn't change until the transaction is committed or rollbacked.
>
> --
Successive calls to display the CURRENT_TIMESTAMP variable show the
values's minutes changing. So the behaviour is not related to being
inside a single transaction.
At least it appears the FB engine is unaware of a manual change to
its Win32 host's timezone.
Kind regards
Russell
> Best regards,
> Daniel Rail
> Senior System Engineer
> ACCRA Group Inc. (www.accra.ca)
> ACCRA Med Software Inc. (www.filopto.com)