I have a monthly event. I want to say "The date/time of the next event is [time]".
Lets say, the 5th of every month, from 5pm-6pm.
If it's currently January 4th, it'll say the next date is January 5th.
If it's currently January 6th, it'll say the next date is February 5th.
Additionally, I'll need to account for the day itself.
If it's currently January 5th: from 5pm to 6pm I want it to say the event is on now.
If it's currently January 5th, from 6pm onwards I want it to say the next date is February 5th.
I just don't know how to even begin using dates in conditionals, etc.
Any help would be appreciated. Thanks!
These events aren't channel entries, they are just a known monthly date and I needed to check whether the current time is before, after or during the event.
This has been solved.