How could I change format of date ?
i want to chage the date format from 31/Dec/2018 21:42:56 into 2018-12-31 21:42:56 but not as a string . i want it as date time type .
Know the answer? Post it — somebody with the same question will find it here.
Sign in to answer this question
It is the same account you read, post and publish with — and you will come straight back to this page.
Suraj KumarPosted Dec 30, 2019, 7:12 AM
Abdalla OmranPosted Dec 30, 2019, 6:40 AM
Abdalla OmranPosted Dec 30, 2019, 3:14 AM
Suraj Kumar . i want to do that with C# code and not sql . first of all i want to convert it to date time then save it in sql server as date time and not as string
Rajanikant HawaldarPosted Dec 30, 2019, 3:07 AM
Suraj KumarPosted Dec 30, 2019, 3:04 AM