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