CQG API 4.0 - Revised
IndexForDate Method
See Also  Send Feedback
date_

Specifies the date, in the user-configured time zone (CQGAPIConfig.TimeZoneCode)

CQGCondition Collection : IndexForDate Method

Glossary Item Box

Description

Returns the start index for the specified date.

Syntax

Visual Basic
Public Function IndexForDate( _
   ByVal date_ As Date _
) As Long

Parameters

date_

Specifies the date, in the user-configured time zone (CQGAPIConfig.TimeZoneCode)

Return Type

If in this CQGCondition there are CQGConditionResult objects having their Timestamp parameters equal to date_, the first such record's index is returned.

Otherwise, the returned value will be invalid.

See Also