List of PI time abbreviations
- Last UpdatedDec 13, 2024
- 1 minute read
- PI System
- PI Server 2018
- PI Server
When specifying PI time, you can use specific abbreviations that represent time units and reference times.
Time-unit abbreviations
|
Abbreviation |
Full version |
Plural version |
Corresponding time unit |
|---|---|---|---|
|
s |
second |
seconds |
Second |
|
m |
minute |
minutes |
Minute |
|
h |
hour |
hours |
Hour |
|
d |
day |
days |
Day |
|
mo |
month |
months |
Month |
|
y |
year |
years |
Year |
|
w |
week |
weeks |
Week |
To specify time units, you can specify the abbreviation, the full version, or the plural version of the time unit, such as s, second, or seconds. You must include a valid value with any time unit. If specifying seconds, minutes, or hours, you can specify a fractional value, such as 1.25h. You cannot specify fractional values for other time units.
Reference-time abbreviations
|
Abbreviation |
Full version |
Corresponding reference time |
|---|---|---|
|
* |
Current time |
|
|
t |
today |
00:00:00 (midnight) of the current day |
|
y |
yesterday |
00:00:00 (midnight) of the previous day |
|
The first three letters of the day of the week. For example: sun |
sunday |
00:00:00 (midnight) on the most recent Sunday |
|
The first three letters of the month. For example: jun |
june |
00:00:00 (midnight) on the current day in June of the current year |
|
dec DD |
december DD |
00:00:00 (midnight) on the DDth day of December in the current year |
|
YYYY |
00:00:00 (midnight) on the current day and month in year YYYY |
|
|
M-D or M/D |
00:00:00 (midnight) on the Dth day of month M in the current year |
|
|
DD |
00:00:00 (midnight) on the DDth day of the current month |