TimeHour((TimeCurrent()-TimeGMT()))
Pavel Shutovskiy #:
Wrong, see MQL4 How to determine brokers Timezone - MQL4 programming forum #9
You are missing trading opportunities:
- Free trading apps
- Over 8,000 signals for copying
- Economic news for exploring financial markets
Registration
Log in
You agree to website policy and terms of use
If you do not have an account, please register
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.