How do I compare dates?
Hello, I want to compare date-modified and date on the Post Info Items page. What I actually have is this:
%date('j F Y')% - updated %date-modified('j F Y')%
Now, if the 2 dates are equal, I dont want to display – updated %date-modified(‘j F Y’)%. How can I do this?
- The topic ‘How do I compare dates?’ is closed to new replies.