Download MetaTrader 5

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()


Updated: 2016.04.08