MQL4 Reference
Date & Time functions
TimeMonth
| int TimeMonth( |
datetime time) |
Returns the month number for the specified time.
Parameters:
| time |
- |
Datetime as number of seconds elapsed since midnight (00:00:00), January 1, 1970. |
Sample:
int m=TimeMonth(TimeCurrent());
|
|
|