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

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

CQGExpression 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 date, in the user-configured time zone (CQGAPIConfig.TimeZoneCode)

Return Type

Start index, represented as Long

Remarks

If in this CQGExpression there are CQGExpressionOutputs objects having their Timestamp values equal to date_, the first such record's index is returned.

Otherwise, the returned value will be invalid.

See Also