I think you just need to change the loop to 0-45 instead of 1-45. I'll test and brb.
In reply to Re: Getting the Latest Date Issue by eric256 in thread Getting the Latest Date Issue by Anonymous Monk