1. Home
  2. How To
  3. How to Modify Date or Change Date Format in AMP

How to Modify Date or Change Date Format in AMP

Hello Guys, In this tutorial I’ll be showing you how to change the Date format in AMP, Using the filter that compatible with the 0.9.55 update.

Let’s get down to it.

You need to add the following filter code into your functions.php file at the end of the code.

By doing the above-mentioned changes you’ve changed the date format, or you can get the desired format by playing with the ampforwp_modify_date_index() functions code.

If you have any queries regarding this feel free to ask.

And don’t forget to leave the feedback if it helps you.

Updated on July 26, 2017

Was this article helpful?

Related Articles


  1. I do not want to show sate on homepage in the free version in the third design template. I want to completely remove date. The single posts dont show date in meta but the homepage shows like 1 year ago, 11 months ago. Please guide me how to remove it.

Add A Comment