support 发表于 2023-2-1 14:36:04

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


int TimeHour( datetime time)
返回小时为指定的时间。

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

示例:

[*]int h=TimeHour(TimeCurrent());


页: [1]
查看完整版本: TimeHour( )【日期时间篇-MQL4函数】