Question: how to convert date format from mm/dd/yyyy to yyyymmdd in c#?
Answer: You can change your Date Format From dd/MM/yyyy to yyyy-MM-dd in following way: string date = DateTime. ParseExact(SourceDate, "dd/MM/yyyy", CultureInfo.