Template:HM first calc/finding earliest day