Minute - Date and Time - MQL4 Reference

MQL4 Reference Date and Time 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");