How to compare two dates and get the result in months?

Hi Bubblers!

I’m trying to get the number of months from a start date and the first day of the current month.

I can get it in number of days but can’t figure out how to find months.

Thanks in advance!

Hi there, @nig3b… you can divide the resulting number of days by 30 to get the number of months. Check out this post for an example…

Hope this helps.


Thanks @mikeloc
I was hoping there would be a build-in solution or a way to have an exact way. But yes the /30 works :wink:


This topic was automatically closed after 70 days. New replies are no longer allowed.