Question: how to change date format mm/dd/yyyy in c#?
Answer: You need an uppercase M for the month part. string strDate = DateTime. Now. ToString("MM/dd/yyyy"); Lowercase m is for outputting (and parsing) a minute (such as h:mm ).