Question: how to convert string date to yyyy mm dd format 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. InvariantCulture).