I have this code that currently takes the date in column H and returns a value in AH. I need it to do the same thing in column A while only using 1 digit rather than 2.

HTML Code: