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 Commented 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. Commented Jan 7, 2019 at 6:41
  • Date block from which module? Commented Jan 7, 2019 at 7:09
  • I mean class , you can look from magento\framework\Stdlib\DateTime Commented 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.... Commented May 9, 2019 at 11:37

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.