MQL4参考 日期和时间 Minute

Minute

Returns the current minute (0,1,2,..59) of the last known server time by the moment of the program start.

int  Minute();

Returned value

Returns the current minute (0,1,2,..59) of the last known server time by the moment of the program start (this value will not change within the time of the program execution).

Note

At the testing, the last known server time is modelled.

Example:

  if(Minute()<=15)
    return("first quarter");