Server-timezones DST - what is the standard?
No standard. We found this:
https://www.mql5.com/en/code/48650
... and the comments already tell: The workaround won't work.
Determine Broker's Daylight (DST) schedule
- 2024.03.14
- www.mql5.com
Script to determine whether your Broker follows the US, UK or AU daylight (DST) schedule.
You can take a look here for local <-> broker conversions https://www.mql5.com/en/code/48419
III. Converting Between Timezones
amrali #:
You can take a look here for local <-> broker conversions https://www.mql5.com/en/code/48419
III. Converting Between Timezones
You can take a look here for local <-> broker conversions https://www.mql5.com/en/code/48419
Thanks. We will have a look at it and see if we find what we are looking for.
But in general we only need the DST rule for the server, since we convert using the C#/.NET functions via a DLL.
Since we deal with different timezones to convert between local time and chart/server-time, we need to define rules in the code. The timezones are just one thing which is easy, but the DST rules are another.
Based on my experience, it does not matter where the brokers-server is located, the DST rule seems to be always NYC-DST.
Is my assumption correct or can anyone confirm or refute?