Date and Time Field
Updated
Date and time field type allows you to enter a date with a specific time from a pop-up calendar.
The article outlines the steps to create a Date and Time Field in Entity Studio.
Creating a Date and Time Field in Entity Studio
Navigate to Launchpad. From the Sprinklr Service tab, click Entity Studio from the Persona Apps section.
The Entity Manager page appears with the list of entities.
Search for the desired entity in the search bar. Click on the 3 dots and then click the View button next to the entity name.

On the left navigation pane, click Fields and Relationships.

Click Create Field on the top right corner of the Record Manager. The Create Field Page appears.
Select Datetime from the Field Type drop-down.

The following are the fields that needs to be filled in the Create Field page.
Fields | Description |
Field Type | Choose the Datetime field type if you want to input a date as well as time from the pop-up Calendar in the Record form. |
Name | Provide a suitable name, for example, “Meeting Date and Time”. |
API Reference ID | API Reference ID is a unique identifier used to reference fields and objects when interacting with the Sprinklr platform via APIs. For example, you can provide API reference ID as meeting_datetime. |
Help Text | Help text appears as a tooltip or is shown below the field, depending on the configuration. It offers quick hints without cluttering the UI. For example, you can write, “Enter the Customer Name” |
Placeholder | Placeholders are temporary, instructional texts displayed inside a field to guide users on what to enter. They disappear when users start typing in the field, offering a more intuitive data entry experience. For example, it can be “Enter Customer Name”. |
Default Value | This is the space that will display the date and time when the user has provided no input. You can select the date and time from the pop-up Calendar. |
Date Format | There are different date formats that you can choose from – ISO, European, Friendly, and US. |
Time Format | There are two types of Time Format that you can choose from to show in the Record form – 12-hour and 24-hour format. |
Display Timezones | Toggle On Display Timezone to show the timezone along with the values in the Calendar (12-hour format). |
Use the same Timezone for all collaborator | Toggle on if you want to view the same Timezone in the Default value and in the Timezone space as well. |
Timezone | You can select any of the Timezones from the dropdown to be displayed along with the date and time. |
Mandatory Field | When mandatory field is enabled, new record creation will fail if there is no input in the current field. In cases where the default value is not set and is empty, and if the mandatory field is enabled, the error will be triggered. If the default value is set, then the error will not be triggered. |
Enable Sorting | This is enabled by default. You can enable this option (if not already enabled) to allow sorting records in Record Manager using this field. For example, sort the Name field in ascending or descending order. |
Do not allow Duplicate Values | Enable this option to disallow any duplicate values in the Record Form. For example, if you add duplicate customer IDs by mistake, the system will trigger an error and will only accept unique entries. |
Enable Cloning | Allows the field value to be copied when a record is cloned. This is useful in scenarios where new records are often created based on existing ones, such as tickets, orders, or configurations. |
Click on the Save icon in the bottom right corner once you input the field details.