How to get the broker time zone in MQL4?

 

Hi, I saw the dateandtime documents but all the functions are for the computer time and the current time of the broker,

the computer time may be wrong so you can not use the computer time.

How to find out if our broker for example is 2+ or 3+ time zone? Or what is the time interval between GMT-0?

edit 1: I know TimeGMTOffset() function is not a good way to get a time zone broker, because this function uses computer time and the computer time may be wrong. We need to get the times UTC-0 or GMT-0 after subtracting the current time of the broker.

Documentation on MQL5: Date and Time / TimeCurrent
Documentation on MQL5: Date and Time / TimeCurrent
  • www.mql5.com
TimeCurrent - Date and Time - MQL5 Reference - Reference on algorithmic/automated trading language for MetaTrader 5
Files:
1.PNG  62 kb
 
TimeHour((TimeCurrent()-TimeGMT()))