Instance.PropertyArray.indexOfDateTime()

Signature

int indexOfDateTime(PropertyArrayDateTime arr, DateTime value)

Domain

ACTION, CONDITION, QUERY, BUI

Description

Returns the index in the PropertyArrayDateTime of the first occurrence of the specified DateTime value, or -1 if the PropertyArrayDateTime does not contain this DateTime value.

Parameters

NameTypeDescription
arrPropertyArrayDateTimeThe PropertyArrayDateTime for searching.
valueDateTimeThe specified DateTime value to search for.

Returns

TypeDescription
intThe index of value in the given PropertyArrayDateTime.

Cautions

none