Question: how to change date time format into 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");