support 发表于 2022-12-24 11:42:02

TimeMonth( )【日期时间篇-MQL4函数】

int TimeMonth( datetime time)
返回月数为指定的时间。

参数:
time   -   作为秒钟的数字,从00:00 1970 年1月1 日开始。



int m=TimeMonth(TimeCurrent());
页: [1]
查看完整版本: TimeMonth( )【日期时间篇-MQL4函数】