Sort:  

It will never be calculated to 366 tho. If you earn 10 cents today, you'll earn 10 cents any day. The interest also doesn't compound in this case.

Works for me. One extra day of interest in leap years. I believe it's the same in Hive.