Question: how to change date format in dd/mm/yyyy in c#?
Answer: CultureInfo provider = CultureInfo. InvariantCulture; DateTime dateTimeObj = DateTime. ParseExact(txtDate. Text, "MMM dd,yyyy", provider); txtDate. Text = dateTimeObj. ToString("dd/MM/yyyy");