Please ensure Javascript is enabled for purposes of website accessibility
Powered by Zoomin Software. For more details please contactZoomin

Industrial Graphic Editor

Configure a time value display animation

  • Last UpdatedMar 18, 2025
  • 2 minute read

You can configure an element to show a time value.

Time format

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").

Elapsed time format

Note: You cannot change the display format for elapsed time in InTouch and OMI applications. Other applications may also have this limitation. Formatting will revert to the default.

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.

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

  1. Select the element.

  2. On the Special menu, click Edit Animations. The Edit Animations dialog box appears.

  3. 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.

  4. Click the Time button. The Time Value Display configuration panel appears.

  5. In the Time or Elapsed Time box, type a time or elapsed time value, attribute reference or expression.

  6. 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.

    Note: Text format does not apply to InTouch, OMI, and some other applications. Formatting will revert to the default.

  7. Click OK.

In This Topic
TitleResults for “How to create a CRG?”Also Available in