Magento Open Source, 1.9.x

Magento 1.x Security Patch Notice
For Magento Open Source 1.5 to 1.9, Magento is providing software security patches through June 2020 to ensure those sites remain secure and compliant. Visit our information page for more details about our software maintenance policy and other considerations for your business.

Date & Time Custom Options

You can customize the format of date and time fields, and select the input control used for dates. Dates values can be selected from a drop-down list, or from a popup JavaScript calendar. The following page has an example of each type of date input control.

Date Input Controls

To format date/time fields:

1. On the Admin menu, select System > Configuration. Then in the panel on the left under Catalog, select Catalog.
2. Click to expand the Date & Time Custom Options section. Then, do the following:
a. To display the JavaScript calendar as an input control for date fields, set Use JavaScript Calendar to “Yes.”
b. To establish the Date Fields Order, set each to one of the following:
  • Month
  • Day
  • Year
c. Set your preferred Time Format to one of the following:
  • 12h AM/PM
  • 24h
d. To set the Year Range for the drop-down year values, enter the year in YYYY format to establish the beginning and ending from and to dates.

If left blank, the field defaults to the current year.

3. When complete, click the Save Config button.