clock – library MetaTrader 4
CClock – Extension for the datetime Installation Put clock.mqh into your Include folder Use one of the samples that shows the usage Inputs GMTOffset, int(-23~23) Server GMTOffset value DSTMethod, either DAYLIGHTSAVING_METHOD_US, DAYLIGHTSAVING_METHOD_UK or DAYLIGHTSAVING_METHOD_NONE Methods void CClock(void); void CClock(int offset, int method); void Set(const datetime value); datetime DateTime(int offset, int method); datetime ServerTime(void) {return(srvdt);} datetime GreenwichMeanTime(void) … Read more