/
Documentation
Login
|
Register
| Language:
ru
cn
en
Documentation
Book
TA
Code Base
Articles
Jobs
Championship
Forum
MQL4 Reference
Date & Time functions
Day
Day
DayOfWeek
DayOfYear
Hour
Minute
Month
Seconds
TimeCurrent
TimeDay
TimeDayOfWeek
TimeDayOfYear
TimeHour
TimeLocal
TimeMinute
TimeMonth
TimeSeconds
TimeYear
Year
Use the opportunities of
MQL5 in
MetaTrader 5
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);
Date & Time functions
DayOfWeek