how to add zero infront of single digit days and months in vb.net? like

MR M

New member
now.month.tostring if it is one digit? example now.month.tostring returns 9 not 09 for september. How do I add a 0 only when the month is one digit?
 
Back
Top