StructToTime
StructToTime
将结构变量MqlDateTime转换为datetime类型的值,并返回结果值。
datetime StructToTime(
MqlDateTime$ dt_struct // structure of the date and time
);参数
- dt_struct
[in] 类型为MqlDateTime的结构变量。
返回值
包含自1970年1月1日以来经过的秒数在内的datetime类型的值。
最后更新于
将结构变量MqlDateTime转换为datetime类型的值,并返回结果值。
datetime StructToTime(
MqlDateTime$ dt_struct // structure of the date and time
);[in] 类型为MqlDateTime的结构变量。
包含自1970年1月1日以来经过的秒数在内的datetime类型的值。