Hi @dacou,
I think you might find our newly introduced date_diff() function useful. Could you please take a moment to look into it?
date_diff()