How do i convert DD/MM/YYYY to YYYY-MM-DD in C#?

  • Thread starter Thread starter Assimalyst
  • Start date Start date
A

Assimalyst

Hi,

I need to convert a date from DD/MM/YYYY to YYYY-MM-DD, in order to be
able to properly query it in an sql database.

How can i go about doing this with C#?

Thanks
 
Back
Top