|
Functions by Category Functions by Alphabetical list
This function returns the number representing the day of the year for the current bar, or from the passed in datetime. Examples: DayOfYear; #returns the day of the year for the current bar
DayOfYear(Ago(DateTime,15)); #returns the day of the year for 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 DayOfYear() instead of DayOfYear. Related functions: DateTime , Time , Second , Minute , Hour , Month , Year , DayOfWeek , DayOfMonth , WeekOfYear , NewHour , NewDay , NewWeek , NewMonth , NewYear , Monday , Tuesday , Wednesday , Thursday , Friday , FormatDateTime , ValidateDateTime , AddDeltaDHMS , AddDeltaYM , DeltaDateTime
|