Question: how to set date format dd-mm-yyyy in c#?
Answer: string formatted = date. ToString("dd-MM-yyyy"); will do it.