I know how to check the age of a post, relative to today’s date, but now I would like to check if a post was published after a particular date.
For example, say the cutoff date is 08/05/11, I need to be able to check if the post that is displaying on the page was posted later than 08/05/11.
Anyone know how to do this? I know the template tag is get_the_date(), but I just don’t know how to do the date manipulation.
- The topic ‘How do I check if a post was published later than a certain date?’ is closed to new replies.