Change Date and Time Format on Your WordPress Site

By Default, WordPress supports 5 different formats of date and 4 different formats of time via the dashboard. WordPress comes with the build-in function to change the date and time format and it’s very easy to change the format. You can change the date and time format on your WordPress site by going to Settings > General.

  1. Login to your website dashboard
  2. Go to Settings > General
  3. Scroll down to Date Format Section
  4. Select the available options for your Date format
  5. Select time format on the below Time Format section.
  6. If the selection is fine, click Save Changes below to save the changes.

You can see the examples there before choosing the option. If you want to make the custom Date and Time format, you can take reference from above examples.  You can check Codex for more details about the time and date format.

Date Format Examples

  1. F j, Y – October 10, 2017
  2. Y-m-d – 2017-10-25
  3. m/d/Y – 10/25/2017
  4. d/m/Y – 25/10/2017

With the help of above examples, you can make your own custom date format as well.

Time Format Examples

  1. g:i a – 7:15 am ( Small ‘a‘ represents ‘am‘ )
  2. g:i A – 7:15 AM ( Capital ‘A‘ represents ‘AM’ ) 
  3. H:I – 7:15

With the help of this above examples, you can easily make the custom time format as well.

At last,

Date and Time format may vary from the country. So select the appropriate date and time format to make your site attractive.

Related posts

Leave a Reply