how to convert dd/mm/yyyy to mm/dd/yyyy c#?
string friendDate = Convert. ToDateTime("<your-datetime"). ToString("dd/MM/yyyy"); You can use the ToString function to pass the format that you want the object to take.