I am having issues with using date formatting and I would like to get more in depth information on this.
I need the Month to appear as “04” for April, instead of “4”.
If I understood right from other posts, then I could use “(date.Today.Month-1).ToString(“MM”)”.
However that just returns “MM” for me. while “(date.Today.Month-1).ToString” returns 4.
Can you please help with this ?