On 20/08/2024 11:01, ABAK wrote:
> *Yes I tried : Select LocalTime From RDB$DataBase;*
> Without succes : it always gives Time Server +1
>
> *Explanation : *
> My Server Time = 13:00 in Algeria (Time Zone +01:00 )
> *
> *
> *Select LocalTime From RDB$DataBase; --> gives 14:00*
> *Also, Select Curent_Time From RDB$DataBase; --> gives 14:00**
> *
> *
> *
> It's logical for FireBird because it will get the time in Time Zone +01:00
> *But in Algeria Summer Time is always deactivated on our Windows Server
> Setting.*
What do you mean with "Summer Time is always deactivated on our Windows
Server settings"? If you configure the right time zone in Windows, then
that is all you should need to do. There should be no deactivating of
summer time, because that is governed by the choice of the right time zone.
It sounds like you selected a different timezone than Africa/Algiers,
and that one does have summer time, and then you somehow worked around that?
When I checked my Windows settings, I didn't see a timezone mentioned
which lists Algiers, but according to
https://learn.microsoft.com/en-us/windows-hardware/manufacture/desktop/default-time-zones?view=windows-11,
the correct timezone would be the "West Central Africa" time zone.
I guess you selected the "Amsterdam, Berlin, Bern, Rome, Stockholm,
Vienna" timezone instead.
> So, the True Time here is 13:00 and not 14:00, despite the Time Zone
> wich is correct (+01:00)
>
> *Conclusion *
> It seems that FireBird 5.0 (Firebird-5.0.1.1469-0-windows-x86.exe)
> *does not support OS Summer / Winter Time*.
That is not how it works though (or at least, not how it should work).
Mark
--
Mark Rotteveel