Read access to an object's creation time. Read/write access to the creation time of the current formula.
Syntax
[Object].CreationTime
or
[this].CreationTime = Date
The syntax of the CreationTime property consists of the following elements:
Element |
Description |
---|---|
Object |
Optional. The object being accessed. If you omit this element, then the current formula is accessed. In the case of embedded FPScript you have to use the This keyword. |
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
The creation time is returned as a calendar time value.
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 the General tab of the Properties dialog box instead.
Available In
FlexPro Basic, Professional, Developer Suite
Example
Dim Result, Paths, Obj Paths = .\.Objects(".*\.dat").Names For Each Row i in Paths Do Set Obj = $Paths[i]$ If Obj.CreationTime >= '1.1.2004' Then Result = Result : Mean(Obj) End End |
Calculates the mean values for all data sets that were created after 1/1/2004 and located in the same folder in which this example formula is located. |