|
Functions by Category Functions by Alphabetical list
This function returns the number of hours of the current bar, or from the passed in datetime. The returned number is in 24 hour clock. This function can be used in chart and indicator objects. Examples: Hour; #returns the hour of the current bar
Hour(Ago(DateTime,15)); #returns hour of the bar 15 bars ago
Note: Because this function has an optional parameter, it is sometimes necessary to specify the parenthesis on the function when passing no parameters, for example use Hour() instead of Hour. Related functions: DateTime , Time , Second , Minute , Month , Year , DayOfWeek , DayOfMonth , DayOfYear , WeekOfYear , NewHour , NewDay , NewWeek , NewMonth , NewYear , Monday , Tuesday , Wednesday , Thursday , Friday , FormatDateTime , ValidateDateTime , AddDeltaDHMS , AddDeltaYM , DeltaDateTime
|