Skip to content

Date Time Format Configuration

Santam Chakraborty edited this page Jul 10, 2023 · 1 revision

The default drupal date time configuration option shows date in MM/DD/YYY which is inconvenient for us. We can change the date time configuration by going to Configuration > Region and Language > Date and Time formats and changing the default date formats.

Format strings for the options will be:

  • Default long date : l, j F, Y - H:i
  • Default medium date : D, d/m/Y - H:i
  • Default short date : d/m/Y - H:i Add a Date only format to allow us to display dates only instead of date time.
  • Date Only : d/m/Y

image

Clone this wiki locally