---
schema_version: "1"
id: 663e5fcae4c82adc1d3460d7d8e286892eb716073ca20e34e622c745f33b5245
title: Date Properties (Managed Package)
collection: admin
version: current
locale: en-us
portal_url: https://docs.salesforce.com/admin/current/en-us/xcloud/264-0-0/os_date_properties.md
canonical_url: https://help.salesforce.com/s/articleView?id=xcloud.os_date_properties.htm&release=264.0.0&type=5
source_site: help.salesforce.com
content_type: documentation
content_hash: ae168c8bc442a205f8b0d3c9d04cd57582fb7a56055d63236415101b0bbd43bc
description: For the managed package runtime, Date properties are configurable from the Properties panel when you select a Date element. With the Date element, enable users to select a date from a date picker in your Omniscript.
products:
  - Omnistudio
release: "264"
---
# Date Properties (Managed Package)

For the managed package runtime, Date properties are configurable from the Properties panel when you select a Date element. With the Date element, enable users to select a date from a date picker in your Omniscript.

![Managed Package app icon](https://sf-zdocs-cdn-prod.zoominsoftware.com/tdta-xcloud-omnistudio_for_managed_packages-264-0-0-production-enus/aa2554ec-624a-4ee6-8da4-6435670e6e62/resources-global/_corporate/images/managedpackageicon.png) This information is for Omnistudio for Managed Packages. For Omnistudio on standard runtime, see [Omnistudio Help](https://help.salesforce.com/s/articleView?id=xcloud.os_omnistudio_standard.htm&language=en_US).

<table class="slds-table slds-table_bordered slds-max-medium-table_stacked slds-m-bottom_small ">
      <colgroup>
        <col>
        <col>
      </colgroup>
      <thead class="slds-text-title_caps ">
        <tr class="">
          <th scope="col" class="slds-cell-wrap" style="vertical-align:top;" id="d118093e46">
            <p style="margin-bottom:0;">Property</p>
          </th>
          <th scope="col" class="slds-cell-wrap" style="vertical-align:top;" id="d118093e52">
            <p style="margin-bottom:0;">Description</p>
          </th>
        </tr>
      </thead>
      <tbody>
        <tr class="">
          <td data-label="Property" class="slds-cell-wrap" style="vertical-align:top;" headers="d118093e46 ">
            <p style="margin-bottom:0;">
              <strong class="uicontrol">Data Type</strong>
            </p>
          </td>

          <td data-label="Description" class="slds-cell-wrap" style="vertical-align:top;" headers="d118093e52 ">
            <p style="margin-bottom:0;">Specifies how to display the date in the Data JSON. Default is String. If set to <strong class="uicontrol">String</strong>, the <strong class="uicontrol">Model Date Format</strong> is applied. If set to <strong class="uicontrol">Date</strong>, the date is encoded as an ISO 8601 date/time, such as <kbd>2018-01-28T05:00:00.000Z</kbd>.</p>
          </td>

        </tr>
        <tr class="">
          <td data-label="Property" class="slds-cell-wrap" style="vertical-align:top;" headers="d118093e46 ">
            <p style="margin-bottom:0;">
              <strong class="uicontrol">Date Format</strong>
            </p>
          </td>

          <td data-label="Description" class="slds-cell-wrap" style="vertical-align:top;" headers="d118093e52 ">
            <p style="margin-bottom:0;">Specifies the format to display the date. For example, if the format is <kbd>MM-DD-YYYY</kbd>, and the user selects <kbd>January 3, 2020</kbd> from the date picker, the date displays as <kbd>01-03-2020</kbd>. For more format options, visit https://day.js.org/docs/en/parse/string-format.</p>
          </td>

        </tr>
        <tr class="">
          <td data-label="Property" class="slds-cell-wrap" style="vertical-align:top;" headers="d118093e46 ">
            <p style="margin-bottom:0;">
              <strong class="uicontrol">Maximum Date</strong>
            </p>
          </td>

          <td data-label="Description" class="slds-cell-wrap" style="vertical-align:top;" headers="d118093e52 ">
            <p style="margin-bottom:0;">The latest date the user can select from the date picker. The format must be the same as in the <strong class="uicontrol">Date Format</strong> field. For example, to set the maximum date to December 31, 2019, if the <strong class="uicontrol">Date Format</strong> is <kbd>MM-DD-YYYY</kbd>, you must enter <kbd>12-31-2019</kbd>.</p>
          </td>

        </tr>
        <tr class="">
          <td data-label="Property" class="slds-cell-wrap" style="vertical-align:top;" headers="d118093e46 ">
            <p style="margin-bottom:0;">
              <strong class="uicontrol">Minimum Date</strong>
            </p>
          </td>

          <td data-label="Description" class="slds-cell-wrap" style="vertical-align:top;" headers="d118093e52 ">
            <p style="margin-bottom:0;">The earliest date the user can select from the date picker. The format must be the same as in the <strong class="uicontrol">Date Format</strong> field. For example, to set the minimum date to January 1, 1950, if the <strong class="uicontrol">Date Format</strong> is <kbd>MM-DD-YYYY</kbd>, you must enter <kbd>01-01-1950</kbd>.</p>
          </td>

        </tr>
        <tr class="">
          <td data-label="Property" class="slds-cell-wrap" style="vertical-align:top;" headers="d118093e46 ">
            <p style="margin-bottom:0;">
              <strong class="uicontrol">Model Date Format</strong>
            </p>
          </td>

          <td data-label="Description" class="slds-cell-wrap" style="vertical-align:top;" headers="d118093e52 ">
            <p style="margin-bottom:0;">Specifies how the date is formatted in the Data JSON when <strong class="uicontrol">Data Type</strong> is set to <strong class="uicontrol">String</strong>. For example, <kbd>YYYY-MM-DD</kbd>. For more format options, visit https://day.js.org/docs/en/parse/string-format.</p>
          </td>

        </tr>
      </tbody>
    </table>