MQL4 - automated forex trading   /  

Documentation

MQL4 Reference  Date & Time functions  Day

 
Use the opportunities of
MQL5 in MetaTrader 5
Study the new MQL5 language
Study the new MQL5 language.
Reference is already available
int Day( )
Returns the current day of the month, i.e., the day of month of the last known server time.
Note: At the testing, the last known server time is modelled.
Sample:
  if(Day()<5) return(0);