Using EE syntax is there any way to achieve something similar to PHP’s date_diff function to work out the number of days between two given dates (in this case, the current_time and the expiry date of an entry)?
I want to do something similar to this pseudo-code:
{if current_time > (expiration_date - 30 days)}
do something date related
{/if}I’ve searched devot-ee and there doesn’t seem to be any plugins out there that will do this, which surprises me.