MQL4 Reference Date and Time TimeGMTOffset

TimeGMTOffset

Returns the current difference between GMT time and the local computer time in seconds, taking into account switch to winter or summer time. Depends on the time settings of your computer.

int  TimeGMTOffset();

Return Value

The value of int type, representing the current difference between GMT time and the local time of the computer TimeLocal in seconds.

TimeGMTOffset() =  TimeGMT() - TimeLocal()