Returns the start index for the specified date.
Visual Basic |
---|
Public Function IndexForDate( _ ByVal date_ As Date _ ) As Long |
- date_
Specifies the date, in the user-configured time zone (CQGAPIConfig.TimeZoneCode).
Start index, represented as Long
If in this CQGCustomStudy, there are CQGCurves objects having their Timestamp equal to date_, the first such record's index is returned.
Otherwise, the returned value will be invalid.