Date formula hurts my head, have you seen it before and how does it work?

Hello Jack,

I can see the similarities, but you have several lines of code and a lot of magic numbers.
The original formula has the magic numbers but it is just one line.

Where does the 30.6 come from?