Date, Date and time, and Duration

  • Versão de lançamento: Australia
  • Atualizado 12 de mar. de 2026
  • 1 min. de leitura
  • The date variable creates a widget with a field and calendar to select a date.

    Date

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

    Figura 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.
    Nota:
    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.
    Figura 3. Example: duration variable
    The Duration variable