I need to display the date format as "d.m.Y" in front end and Email templates, Is there any solution to complete this requirement?


Follow this from your Admin Panel Configuration

Stores > Catalog > Catalog >Date and Time Custom Options

You can set the Date order as you want in Date Fields Order, MM/DD/YY or DD/MM/YY or any things else, depend on the date format you require.

  • But i need to display like "DD.MM.YY"...Dot instead of slash – Ranganathan Jan 7 '19 at 6:11
  • I see. for that you need to override a date block in order to apply the format you require. – fmsthird Jan 7 '19 at 6:41
  • Date block from which module? – Ranganathan Jan 7 '19 at 7:09
  • I mean class , you can look from magento\framework\Stdlib\DateTime – fmsthird Jan 7 '19 at 7:25
  • did you get any solution for same ? i want to show dd/mm/yyyy on calnder once user select date.... – Navin Bhudiya May 9 '19 at 11:37

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.