I have a DateTime
saved in dtmNextPayment
. I want that to showed in the label in mm/dd/yyyy way. I have tried using
lbltakeeffectdate.Text = dtmNextPayment.ToString("mm/dd/yyyy");
But month is always shown as 00. I have no idea why? Please let me know what should be the problem..
And also, please tell me what is the best solution.. Thank you so much!!