Have you ever wondered to change the default date and time format in WordPress site of yours? Maybe you wanted to hide year or month in the display time. Well, if you want to change date and time format in WordPress, then this post is just for you.
At here, I have shown you the procedure to change date and time format in WordPress. Just follow the procedure till very last then you will be able to change date and time formate by yourself. Let’s begin then.
How To Change Date And Time Format In WordPress
WordPress comes with a built-in function for adjusting date and time according to your need. To modify date and time navigate to Settings -> General page in the admin area of your dashboard.
Scroll down a little bit and you will found the option to change the date and time format. The date and time format are entirely based on alphabetic characters which represent date and time format. There are a few time and date format is given in WordPress. You can choose any given format or use a custom format.
To use custom formatting you have to use alphabetic characters. Write characters according to the format, then the date and time will be shown in that way.
You can check the total formatting of date and time from here
Some examples of common date and time format characters are:
- F j, Y g:i a – November 6, 2020 12:50 am
- F j, Y – November 6, 2020
- F, Y – November, 2020
- g:i a – 12:50 am
- g:i:s a – 12:50:48 am
- l, F jS, Y – Saturday, November 6th, 2020
- M j, Y @ G:i – Nov 6, 2020 @ 0:50
- Y/m/d \a\t g:i A – 2020/11/06 at 12:50 AM
- Y/m/d \a\t g:ia – 2020/11/06 at 12:50am
- Y/m/d g:i:s A – 2020/11/06 12:50:48 AM
- Y/m/d – 2020/11/06
When you write “Y/m/d” your date will be shown as 2020/12/17
You can use any of the above formats, try now and apply the format that suits your WordPress website best. If you have any questions feel free to ask me, I will be happy to provide answers to your questions. If you liked this post please share this post with your friends and don’t forget to share your thought in the comment box below.