Read access to an object's creation time. Read/write access to the creation time of the current formula or FlexPro data.
Syntax
Object.creation_time
or
Data.creation_time
or
this.creation_time = date
or
Data.creation_time = Date
The syntax of the creation_time property consists of the following elements:
Element |
Description |
---|---|
Object |
The object that is accessed. Use this to access the current formula. |
Data |
A flexpro.Data object to which header information of the data object from which it originates is assigned. |
Date |
Calendar time value with date and time or numerical value with the number of seconds since "epoch", i.e. since 01.01.1970 00:00:00 (UTC). |
Remarks
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.
Available In
FlexPro Professional, Developer Suite
Example
flexpro.object(r'\dataset’).creation_time |
Returns the creation time of a data set in the root folder. |
import time |
Sets the creation time of the current formula to the current date and time. |