FlexPro
HistoryBase
Engineering
Training
Downloads
FlexPro Support
Knowledge
Community
About us
References
Jobs
General Contact
List Of Retailers
FlexPro Support
EN
DE
FR
Placeholder

FlexPro Documentation 2025

timestamp_x

Read access to the timestamp on a data object's X component. Read/write access to the timestamp of the X component of the current formula or FlexPro data.

Syntax

DataObject.timestamp_x

or

Data.timestamp_x

or

this.timestamp_x = Time

or

Data.timestamp_x = Time

The syntax of the timestamp_x property consists of the following elements:

Part

Description

DataObject

Optional. The data object being accessed. If you omit this element, then the current formula is accessed.

Data

A flexpro.Data object to which header information of the data object from which it originates is assigned.

Time

A calendar time value to be assigned as the timestamp for the X component.

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 X 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 permitted for the formula in which the Python code is located. Instead of using write access, you should preferably edit the attribute on the General tab of the Properties dialog box.

If there is no timestamp, the property returns the value None. Assign None to delete the timestamp.

Availability

FlexPro Professional, Developer Suite

Examples

flexpro.object(r’\DataSet').timestamp_x

Returns a calendar time value with the timestamp on a data set's X component in the root folder.

this.timestamp_x = np.datetime64('2023-01-01T12:24')

 

Sets the timestamp of the X-component of the current formula to 1.1.2023 12:24.

 

See Also

timestamp_y Property

timestamp_z Property