TimestampY Property (FPScript)
Read access to the timestamp on the data object's Y component. Read/write access to the timestamp on the current formula's Y component.
Syntax
[DataObject].TimestampY
or
[this].TimestampY = Time
The syntax of the TimestampY property consists of the following elements:
Element |
Description |
---|---|
DataObject |
Optional. The data object being accessed. If you omit this element, then the current formula is accessed. For an embedded FPScript, you need to use the This keyword. |
Time |
A calendar time value to be assigned as the timestamp for the Y component of the current formula. |
Remarks
The timestamp is only relevant for time data. It provides the date and time assigned to the time t = 0. FlexPro uses this attribute to display the Y values of a data set in either relative time or absolute time in a diagram, for instance.
Write access to the header information of a data object is only allowed for the formula where the FPScript code is located. You should only use this option in embedded FPScript. For standard formula objects, you should edit the attribute on theGeneral tab of the Properties dialog box instead.
Note: For an embedded FPScript, you need to use the this keyword.
Available in
FlexPro Basic, Professional, Developer Suite
Examples
\DataSet.TimestampY |
Returns a calendar time value with the timestamp on a data set's Y component in the root folder. |
.TimestampY = '1.1.2013 12:24" |
Sets the timestamp of the current formula's Y component to 1.1.2013 12:24. |