MQL4参考 日期和时间 TimeMinute

TimeMinute

Returns the minute of the specified time.

int  TimeMinute(
   datetime      date            // date and time
   );

Parameters

date

[in]  Datetime as number of seconds elapsed since midnight (00:00:00), January 1, 1970.

Returned value

Minute (0-59) for the specified time.

Example:

  int m=TimeMinute(TimeCurrent());