Jump to content

[2020] Changing The Date Format

Recommended Posts

Hello friends, how are you? I don't know if anyone has ever taught changing the format of the dooplay date, but come on, you don't need much knowledge to change

The file you need to find is functions.php located at


Find the code on line 37:


It is based on the wordpress date formats, you can study those formed by this link:


Here are some examples of date format with the result output.

  1. F j, Y g:i a – November 6, 2010 12:50 am
  2. F j, Y – November 6, 2010
  3. F, Y – November, 2010
  4. g:i a – 12:50 am
  5. g:i:s a – 12:50:48 am
  6. l, F jS, Y – Saturday, November 6th, 2010
  7. M j, Y @ G:i – Nov 6, 2010 @ 0:50
  8. Y/m/d \a\t g:i A – 2010/11/06 at 12:50 AM
  9. Y/m/d \a\t g:ia – 2010/11/06 at 12:50am
  10. Y/m/d g:i:s A – 2010/11/06 12:50:48 AM
  11. Y/m/d – 2010/11/06

After you change the way you want the date, just save! I changed to the Brazilian graduate.


Here is the result:


Share this post

Link to post
Share on other sites

Thank you very much, this is usefull.

Do you have any idea how to display country names in other languages.

for exemple my site is french, i want USA to be displayed États-Unis, we can not do that with them actually


Share this post

Link to post
Share on other sites

  • Who's Online   0 Members, 0 Anonymous, 11 Guests (See full list)

    There are no registered users currently online

  • Create New...