Configuring a Time Value Display Animation
- Last UpdatedJul 13, 2023
- 2 minute read
You can configure an element to show a time value.
Use the following letters to set the time format:
|
h |
The one or two-digit hour in 12-hour format. |
|
hh |
The two-digit hour in 12-hour format. Single digit values are preceded by a zero. |
|
H |
The one or two-digit hour in 24-hour format. |
|
HH |
The two-digit hour in 24-hour format. Single digit values are preceded by a zero. |
|
t |
The one-letter AM/PM abbreviation ("AM" appears as "A"). |
|
tt |
The two-letter AM/PM abbreviation ("AM" appears as "AM"). |
|
m |
The one or two-digit minute. |
|
mm |
The two-digit minute. Single digit values are preceded by a zero. |
|
s |
The one or two-digit seconds. |
|
ss |
The two-digit seconds. Single digit values are preceded by a zero. |
|
d |
The one or two-digit day. |
|
dd |
The two-digit day. Single digit day values are preceded by a zero. |
|
ddd |
The three-character day-of-week abbreviation. |
|
dddd |
The full day-of-week name. |
|
M |
The one or two-digit month number. |
|
MM |
The two-digit month number. Single digit values are preceded by a zero. |
|
MMM |
The three-character month abbreviation. |
|
MMMM |
The full month name. |
|
y |
The one-digit year (2001 appears as "1"). |
|
yy |
The last two digits of the year (2001 appears as "01"). |
|
yyyy |
The full year (2001 appears as "2001"). |
The format for elapsed time is:
[–][DDDDDD] [HH:MM:]SS[.fffffff]
Use the following letters to set the elapsed time format:
|
DDDDDD |
The number of days. Valid values are 0 to 999999. |
|
HH |
The two-digit hour in 24-hour format. Single digit values are preceded by a zero. Valid values are 00 to 23. |
|
MM |
The two-digit month number. Single digit values are preceded by a zero. Valid values are 00 to 59. |
|
SS |
The two-digit seconds. Single digit values are preceded by a zero. Valid values are 00 to 59. |
|
fffffff |
Optional fractional seconds to right of decimal, and can be one through seven digits. |
Note: You can use any other characters, except "g" in the property. These characters then appear at design time and run time in the control.
To configure an element with a time value display animation
-
Select the element.
-
On the Special menu, click Edit Animations. The Edit Animations dialog box appears.
-
Click the Add icon and select Value Display. The value display animation is added to the Animation list and the Value Display state selection panel appears.
-
Click the Time button. The Time Value Display configuration panel appears.
-
In the Time or Elapsed Time box, type a time or elapsed time value, equipment.item reference or expression.
-
In the Text Format box, type a format for the value output. If you change this value, the TextFormat property of the element also changes.
-
Click OK.