math.abs((math.floor(365.25*({dyy}+4716))+math.floor(30.6001*(10+1))+31+2-math.floor({dyy}/100)+math.floor(math.floor({dyy}/100)/4)-1524.5 )-( math.floor(365.25*({dyy}+4716))+math.floor(30.6001*({dn}+1))+{dd}+2-math.floor({dyy}/100)+math.floor(math.floor({dyy}/100)/4)-1524.5))
Looks like a hard elaborated code, but what does it show exactly?
math.abs((math.floor(365.25*({dyy}+4716))+math.floor(30.6001*(10+1))+31+2-math.floor({dyy}/100)+math.floor(math.floor({dyy}/100)/4)-1524.5 )-( math.floor(365.25*({dyy}+4716))+math.floor(30.6001*({dn}+1))+{dd}+2-math.floor({dyy}/100)+math.floor(math.floor({dyy}/100)/4)-1524.5))
Number of days between dates
Which dates does it show?
The code is currently set to October 31 2026.
If you want to change the dates change line
(10+1))+31+2
Change the 10 to what ever month you want and the 31 to the day in that month. If you want to change the year change the first {dyy}. This will show the number of days between the date you selected and the current date. If you want to change the current date then that is in the second half of the code. Let me know if you need more help.