Date, Date and time, and Duration
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
--- title: Date, Date and time, and Duration description: The date variable creates a widget with a field and calendar to select a date. locale: en-US canonical_url: https://www.servicenow.com/docs/r/australia/servicenow-platform/service-catalog/date.html release: australia product: Service Catalog classification: service-catalog topic_type: concept last_updated: "2026-09-10" reading_time_minutes: 3 breadcrumb: [Types of service catalog variables, Service catalog variables, Service Catalog Reference, Service Catalog, Manage service capabilities, Extend ServiceNow AI Platform capabilities] --- # Date, Date and time, and Duration 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](https://raw.githubusercontent.com/ServiceNow/ServiceNowDocs/australia/markdown/australia/servicenow-platform/service-catalog/variable-attributes.md). **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](https://raw.githubusercontent.com/ServiceNow/ServiceNowDocs/australia/markdown/australia/servicenow-platform/service-catalog/r_VariableTypes.md) **Related topics** [Attachment]() [Break]() [Check box]() [Container start, container split, and container end]() [Email](https://raw.githubusercontent.com/ServiceNow/ServiceNowDocs/australia/markdown/australia/servicenow-platform/service-catalog/email.md) [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]()
| title | Date, Date and time, and Duration |
| description | The date variable creates a widget with a field and calendar to select a date. |
| locale | en-US |
| canonical_url | https://www.servicenow.com/docs/r/australia/servicenow-platform/service-catalog/date.html |
| release | australia |
| product | Service Catalog |
| classification | service-catalog |
| topic_type | concept |
| last_updated | 2026-09-10 |
| reading_time_minutes | 3 |
| breadcrumb | Types of service catalog variablesService catalog variablesService Catalog ReferenceService CatalogManage service capabilitiesExtend ServiceNow AI Platform capabilities |