Changing posts date October 18, 2022 by Tarik Billa You need to use post_date field as UNIX Time stamp. Then you will use above code. May be you have update the date of post