Skip to main content

Date-Time

A Date-Time field is used to store a value that contains a date and time. A date picker can be used to select a date and time.

docs image

Exclude time

To remove the time component from your Date-Time data, select the Exclude time checkbox. This enforces only date selection in the date picker. Additionally, fields with this option selected are displayed as type Date, instead of type Date-Time.

docs image

note

All Date-Time and Date fields are stored as UTC dates and times in Data Fabric / Data Service.

Details

Below is an overview of the details that can be specified to define a Date-Time field.

Property

Description

Required

Default Value

Exclude time

Removes the time component from your Date-Time data.

Yes

No

Default Value

Enables you to specify a default value for the Date-Time field.

Note: The default value can be changed in the Data tab.

No

 

Description

Enables you to enter a short text to describe the purpose of the Date-Time field.

Note: The Description is displayed in Fields tab.

No

 

Representation in UiPath® Studio

A Date-Time field is imported as DateTimeOffset and a Date field is imported as DateTime in your project.