One of the main differences between Posts and Pages is Posts are listed in reverse chronological order, based on the time published while Pages are static content. In most themes, you’ll see the date of each post – usually after the post title or right after the post excerpt. Here is an example from Twenty Twelve theme, the default theme for WordPress 3.5:
If you’re a developer and you would like to place the date or time anywhere in your theme, you could use
the_time(). For more information, please visit the WordPress Codex.
However, if you would like to change the format of the date and time, that’s pretty easy. From your dashboard, go to Settings > General. Then, you would be able to choose a different format for both time and date. Once done, simply hit the Save button.
Here’s the result for the new date format:
For a time, you could do the same thing. This is pretty basic and I hope this article helped you to change the date and time format on your WordPress site.
Leave a Reply