CurrentTime
- Last UpdatedNov 22, 2022
- 1 minute read
- PI System
- PI Manual Logger 2017 R2
- Visualization
Syntax
CurrentTime(TagName)
Arguments
|
Argument |
Data Type |
Description |
|---|---|---|
|
TagName |
String |
The name of any PI tag in the current tour. The tag must be surrounded by double or single quotes. |
Returns
Returns the current timestamp for the value collected in the tour for the TagName argument. The tag must be part of the current tour. If the timestamp cannot be determined, is returned.
Examples
CurrentTime("PimlDemoTag")
This example returns the timestamp for the current value for the tag named PimlDemoTag. If the timestamp for the current value for the tag cannot be found, Unknown is returned.