技术文档MQL4 文档MQL4 手册Date and TimeTimeSecondsTimeSecondsTimeSeconds返回从指定时间所在分钟的开始到当前为止经过的秒数。int TimeSeconds( datetime date // date and time );参数 date[in] 日期,以自1970年1月1日午夜(00:00:00)以来经过的秒数表示。返回值 从指定时间所在分钟的开始到当前为止经过的秒数。示例:int m=TimeSeconds(TimeCurrent());最后更新于 2026-07-04TimeMonthTimeYear