Press "Enter" to skip to content

How to Change the Date Format on Your WP Site

This one’s easy.

Depending on the theme you choose, your date might be displayed in the post byline or after the post content. In a well-coded theme, the format will depend on your date format settings.

To update the date format, visit the Settings menu in your admin dashboard, and you’ll find this option near the bottom of the page. There are four pre-defined settings available. Plus, you can create your own custom format using format strings.


This is Ben from In this video, you'll learn how to change the date format displayed in your WordPress posts. I've got a WordPress site set up here and I'm using the Period WordPress theme and in the Period theme, there's a byline that displays below each of the post titles. In this case, it displays the word "Published," followed by the date, then "by" followed by the name of the post author. Any well-coded WordPress theme is not going to simply output the date in whatever format it wants. Instead, it will check with the date format settings that you've chosen and use that to display this date. Here's how you can change that date format setting now. Start by hovering over your site title in the admin toolbar and then select the dashboard link. This will take you to your WordPress admin dashboard. Next click on the Settings menu.

This will take you to the General Settings menu where you can set up a few of your site's main configuration options, and if you scroll down a bit, you'll find the date format settings here. There are four predefined formats that you can switch between and most likely you'll want to use one of these formats. After you choose the new format you want, you can click the "Save Changes" button and if you view the site you'll see that the date format has immediately updated across all of your posts. This will also be true for any widgets built into WordPress and most likely all plugins you use as well. So changing the date format just once here should update it across the whole site. If you are happy with one of these formats, then you're already done with this step and thanks for watching, but if you're interested in what these letters mean as well, these are essentially a type of code you can use to define this structure.

WordPress has an article on formatting date and time and I'll share a link to this in the description below and if you scroll to the bottom of it, you'll find a table displaying all the different alphanumeric characters you can choose from and what type of information they output. For instance, a lower case "m" will display the number associated with the month with a leading zero versus a lower case "n" will do it without the proceeding zero. So you have a lot of control over exactly how you want to format the date, and if you do want to use those characters, you can use this custom box instead. Once you update, again, this will be reflected in your theme and across the entire site. I hope you found this video useful. If you liked it, don't forget to press the Like button below. If you want more WordPress tutorials, please click subscribe. If you still have questions, leave them in the comments section below and thanks for watching.

Ben Sibley
Ben Sibley

After using WordPress for the last 9 years, I've made dozens of websites, designed and developed 20 themes that have been downloaded more than 1.5 million times, and personally helped thousands of WP users with their sites.

Now I'm sharing everything I know to help make WordPress an easier and more rewarding choice for building a website. If you have a question you want answered, submit your question here.