• Skip to primary navigation
  • Skip to main content
  • Skip to primary sidebar
WPFeed

WPFeed

  • News
  • Tutorials
    • WordPress Multisite
    • BuddyPress
    • Design
  • Reviews
    • Plugins
  • Roundups
  • Snippets
  • Giveaways
Home » How To » How to Change Date and Time Format in WordPress

How to Change Date and Time Format in WordPress

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:

default-date

If you’re a developer and you would like to place the date or time anywhere in your theme, you could use the_date() and 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.

change-date-format

Here’s the result for the new date format:

custom-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.

Reader Interactions

Leave a Reply Cancel reply

Your email address will not be published. Required fields are marked *

Primary Sidebar

Recent Posts

  • WordPress is a brilliant platform that is loaded with tons of stuff for websites.
  • How to Sync Stock & Price for WooCommerce Products
  • How to migrate a WooCommerce Store to a new site
  • How to Import WooCommerce Products
  • How to export WooCommerce Orders

Copyright © 2023 · WPFeed.com - A Project of TechAbout LLC.

  • About us
  • Advertise
  • Write for us
  • Terms and Conditions
  • Privacy Policy
  • Contact us