Is it possible to check if the date ("j-1 F-1")
???
I'm a noob so some script would help! Postdate is in a format like: 14 October
.
if ($postdate == date("j F")) {$postdate = "today";} THIS WORKS...
But I need to check the $postdate
for the "yesterday
" value as well!
Q: How to check for yesterday? that is, date()-1 somehow.
Thanks again