Instance.PropertyArray.appendDateTime()

Signature

void appendDateTime (PropertyArrayDateTime arr, DateTime value, long time)

Domain

action

Description

Creates a new propertyAtomDateTime of value with initial history timestamp time and appends to the end of the PropertyArray. Use instanceX.arr[instanceX.arr@length] = value for appending with system current time

Parameters

NameTypeDescription
arrPropertyArrayA PropertyArray to append an element to.
valueDateTimeA value to append to the PropertyArray, arr.
timelongThe initial history timestamp.

Returns

None.

Cautions

Use instanceX.arr[instanceX.arr@length] = value for appending with system current time

Example


Instance.PropertyArray.appendDateTime (concept.dateTimeProperty, DateTime.now (), 1111111111111);

Result is: last element of array concept.dateTimeProperty contains: {value=10/12/2004,timestamp=1111111111111}.