Padding @Month value with zero

Is there a quick & easy way to pad the return value of @Month with an extra zero of it is only one digit, such as in January when it returns 1. I would like this to be 01. Any ideas?

Subject: Padding @Month value with zero

M:=@Text(@Month(mydate));@if(@Length(M)=1;“0”+M;M)

Subject: @Right(“0” + @Text(@Month(Date)); 2)

Subject: Use @Length and if the value is 1 then…

0 + value; else do nothing.