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

AVEVA™ Plant SCADA

Configuring a DateTime Picker Animation

  • Last UpdatedJul 13, 2023
  • 2 minute read

The DateTime Picker animation is only used by the DateTime Picker element.

To configure a DateTime Picker animation

  1. Select the DateTime Picker control element.

  2. On the Special menu, click Edit Animations. The Edit Animations dialog box appears and the DateTime Picker configuration panel appears.

  3. In the Time Reference box, type a Time equipment.item reference that is to be tied to the selected value at run time.

    You can select when to submit the value changes. For more information, see Submitting the Value Changes.

  4. To set the datetime format, select one of the following from the Format list:

    • Long to show the date and time in the long format of the operating system, for example: Thursday, August 03 2006.

    • Short to show the date and time in the short format of the operating system, for example: 8/3/2006.

    • Time to show just the time in the time format of the operating system, for example: 3:46:09 PM.

    • Custom to specify your own 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").

      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.

  5. To restrict the date the user can select at run time, you can specify limits in the:

    • MinDate box - type a lower limit for the date.

    • MaxDate box - type an upper limit for date.

  6. To change the colors of the calendar control that drops down, click in the Calendar Colors area the following color boxes:

    • Month Background

    • Month Trailing Forecolor

    • Title Background

    • Title Foreground

      The Select FillColor dialog box appears and you can select a solid color.

Configuring Element-Specific Animations

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