Hey InDWrekt this is really helpful thank you! I'm finding dates in Construct 3/Java to be so confusing. Thanks for helping me understand better.
So I took your code and added the date of my next birthday into it. (I also added an extra bracket at the end because it was returning a syntax error). This is the code:
int(Date.ToTotalHours(abs(Date.Difference(Date.Parse(Date.ToDateString(Date.Now)), Date.Get(2021,11,22, 0, 0, 0, 0)))/24))
However for some reason, this is returning 387 days. Which is more days than are in a year. Unsure what's going wrong here. Any advice would be really appreciated