Pulak deb

Pulak deb

  • NA
  • 108
  • 8.9k

wrong datetime format in sql

Jan 16 2018 3:45 AM
when i send datetime in c# it look like {01/02/2018 12:10:20 PM} and when convert xml it look like 2018-01-02T12:10:20+06:00 and when save it to sql database it look like 2018-01-02 06:10:20.000 but i need 2018-01-02 12:10:20

Answers (2)