Recently I had a question from a user asking how to change the date and time on her blogs.
Did you know that most of the world uses the Gregorian date format, i.e., day-month-year? The month-day-year is primarily used by the United States, English Canada and the Philippines. (Source: Wikipedia).
The WordPress Codex provides “Formatting Date and Time” instructions here.
Changing the Date
The date typically displays on your blog posts and archive pages. To change the date format in your WordPress website, go to the Settings page. Scroll down and locate “Date Format”.
The default setting is set to “month-day-year” or “Fj, Y” or “November 25, 2017”.
To add the day of the week, select “Custom” then enter the following: l, F j, Y
The lowercase “l” will spell out the full name of the day of the week. Using an uppercase “D” will abbreviate the day (Sat.)
Saturday, November 25, 2017
To change the date to date-month-year, change it to: l, j F, Y
Saturday, 25 November, 2017
Changing the time
The default setting is to display the Hour and Minutes with before/after midday displayed in lower case.
To add the “seconds” to your time, select Custom, then enter the following: g:i:s a
Note: Depending on how your WordPress theme has been coded, it’s possible that your theme designer has provided custom code that may not be overwritten with your new settings. If that is the case, please contact your theme designer.