Use the TimeFormat command
- Last UpdatedJan 13, 2023
- 1 minute read
- PI System
- PI Server
The TimeFormat command can be used to adjust the number of subsecond digits displayed in timestamps, and whether or not time zone information is displayed. The default number of subsecond digits to display is 5. No time zone information is normally displayed. This command affects the display of timestamps from the snapshot and archive only.
To set the number of subsecond digits to four and turn on time zone information display, you would enter the command:
@timf 4,t
The time zone information displayed with every snapshot and archive timestamp is the short label of time zone and current standard/daylight status. For example, in Pacific Standard Time, this label would be PST. You can check the labels for your time zone with the pidiag -tz command.
If you issue the TimeFormat command with the number of subsecond digits only, time zone information display is turned off.