1

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?

1 Answer 1

0

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.

5
  • But i need to display like "DD.MM.YY"...Dot instead of slash Jan 7, 2019 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, 2019 at 6:41
  • Date block from which module? Jan 7, 2019 at 7:09
  • I mean class , you can look from magento\framework\Stdlib\DateTime
    – fmsthird
    Jan 7, 2019 at 7:25
  • did you get any solution for same ? i want to show dd/mm/yyyy on calnder once user select date.... May 9, 2019 at 11:37

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge that you have read and understand our privacy policy and code of conduct.

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