Date, Date and time, and Duration

concept australia Updated Sep 10, 2026 3 min read date.md
Raw file servicenow.com

The date variable creates a widget with a field and calendar to select a date.

Date

[Omitted image "Date.png"] Alt text: 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.

[Omitted image "DateTime.png"] Alt text: 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.

Note: 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.

[Omitted image "VarDuration.png"] Alt text: The Duration variable

Parent Topic:Types of service catalog variables

Related topics

Attachment

Break

Check box

Container start, container split, and container end

Email

HTML

IP Address

Label

List collector

Lookup multiple choice

Lookup select box

Custom and Custom with label

Masked

Multi-line text

Multiple choice

Numeric scale

Reference

Requested for

Rich Text Label

Select box

Single-line text

UI page

URL

Wide single-line text

Yes/No

Variable support in various channels

Search documentation
Search document titles and file paths on the australia branch