Date, Date and time, and Duration

  • Rversion finale: Australia
  • Mis à jour 12 mars 2026
  • 1 minute de lecture
  • The date variable creates a widget with a field and calendar to select a date.

    Date

    Figure 1. Example: date variable
    A variable date

    Date and time

    The date and time variable creates a widget with a calendar and fields to select a date and time. The time value is stored in Greenwich Mean Time (GMT) and displayed in your time zone.

    Figure 2. Example: date and time variable
    The date and time variable

    Duration

    Use the duration variable to specify the duration for which a catalog item is available.

    For attributes supported by this variable, see variable attributes.
    Remarque :
    Enter the duration in the DD HH:MM:SS format when setting the default value of the variable, and specifying in the g_form.getValue() and g_form.setValue() functions.
    Figure 3. Example: duration variable
    The Duration variable