Magento Open Source 2.1.x

Magento 2.1.x Notice: Magento 2.1.18 is the final 2.1.x release. After June 2019, Magento 2.1.x will no longer receive security patches, quality fixes, or documentation updates. To maintain your site's performance, security, and PCIPayment Card Industry: Refers to debit and credit cards and their associated businesses. compliance, upgrade to the latest version of Magento. The Magento User Guide 2.1.x remains available in PDF for Open Source and Commerce.

Date & Time Options

You can customize the format of date and time fields, and select the input control that is used for data entry. Dates values can be selected from a drop-down list, or pop-up calendar.

Pop-up Calendar

To format date/time fields:

1. On the Admin sidebar, tap Stores. Then under Settings, choose Configuration.
2. In the panel on the left, tap Catalog. Then, choose the Catalog option.
3. Expand the Date & Time Custom Options section.
4. To use a popup calendar as the input control for date fields, set Use JavaScript Calendar to “Yes.”
5. To establish the Date Fields Order, do the following:
a. Clear the Use system value checkbox.
b. Set the order of each part of the date field as needed:
  • Month
  • Day
  • Year
c. To set your preferred time format, do the following:
d. Clear the Use system value checkbox.
e. Set Time Format to one of the following:
  • 12h AM/PM
  • 24h
f. To establish the Year Range for the drop-down values, enter the year in “YYYY” format to set the from and to dates. If blank, the field defaults to the current year.
6. When complete, tap  Save Config .