MQL4 Reference Date and Time Day

MQL4 Help as One File:

Day

Returns the current day of the month, i.e., the day of month of the last known server time.

int  Day();

Returned value

Current day of the month.

Note

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

Example:

  if(Day()<5) return(0);