first event of next month ?

Hello. Is there a way to calculate if an event is the first event of next month (or next week) ?

Thanks.

This formula are going to give you the title of the first event of the first day of the next month

$ci(title,0,1da1M)$

Thanks for your reply.

This works well to show the first event of the first day of the month. But if the first event is on the 2nd, 3rd, ... day of the month, it's not working.

I try to identify in a list of event, the first event of the next month, even if it's not on the 1rst day.

The list is something like this :

$ci(title,0)$, (ci(title,1)$,...

I want to try something like this (if it's possible)

If(date of event >= 1rst of next month & event = the first event of the month, do something)

I allready try to compare with a date. It works, but for all the event after the specific date, not only for the first event.

Thanks for your help.

Yes this is not easy, and I don't have a formula for this.

If you want you can ask in the Discord Kustom channel in Kode help, here you have some users with knowledge in codes and maybe they can help you, here you have an invite to the channel in Discord

https://discord.gg/fkGkzG

Thanks