TimestampZ Property (FPScript)
Read access to the timestamp on the data object's Z component. Read/write access to the timestamp on the current formula's Z component.
Syntax
[DataObject].TimestampZ
or
[this].TimestampZ = Time
The syntax of the TimestampZ 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 Z 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 Z 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.TimestampZ |
Returns a calendar time value with the timestamp on a data set's Z component in the root folder. |
.TimestampZ = '1.1.2013 12:24' |
Sets the timestamp of the current formula's Z component to 1.1.2013 12:24. |