RealCode API
DateValue Property (barsAgo)
RealCode APIWBI.CommonBlocksRealCodeIndicatorDateValue[([(Int32])])
Returns the date for the specified offset bars ago
Declaration Syntax
Visual Basic
Public Overridable ReadOnly Property DateValue ( _
	barsAgo As Integer _
) As DateTime
Parameters
barsAgo (Int32)
Bars ago to get the date. 0 = current bar
Return Value
A System.Date value for the barsAgo
Remarks
Not used during manual loop calculations
Examples
Example: Check the previous bars date and time:
CopyVB.NET
if price.DateValue(1).DayOfWeek = Monday then
plot = price.close(1)
end if

Assembly: WBI.CommonBlocks (Module: WBI.CommonBlocks) Version: 1.0.25.0 (1.0.0.0)