RectangleGetBegin DT

From MultiCharts
Jump to navigation Jump to search

Returns a DateTime value, indicating the date and time of the starting point of a rectangle with the specified ID number; returns a value of -2 if the specified rectangle ID number is invalid.

Usage

RectangleGetBegin_DT(ID)

Where:

ID - a numerical expression specifying the rectangle ID number

Notes

A rectangle-specific ID number is returned by RectangleNew_DT when the rectangle is created.

Example

RectangleGetBegin_DT(value1);

will return 41422.752623935186 if rectangle with ID = Value1 starts at 08:30:00.722 on 5/28/2013