Dear All,
I am having a struggle in my project due to format value.
The case is that I am willing to get an Integer like 1, 2,…, 9 and format them into two digits.
(Is related to convert the just the value DateTime.Now.Month.ToString with 2 digits adding 0s in case)
I mean I would like that the outcome (.ToString) 01, 02,…, 09 and so on.
Any idea will be welcomed!
I already tried with FormatValue and doesn’t have the option…
I also tried with, MyInteger.ToString(“D”).Length, but it doesn’t work
Thanks a lot in advance !!!
Kind Regards