+2

How can i convert date like 24/12/2017 12:34:12 pm to date like 24/12/2017 in sql and c#

help me

6/9/2017 2:09:37 AM

Mahmoud Reda

5 Answers

New Answer

+1

https://stackoverflow.com/questions/113045/how-to-return-the-date-part-only-from-a-sql-server-datetime-datatype

+1

0

In plain language, you could create a function to copy the value of the firstDate to a string firstDate variable and then reference the appropriate characters from that variable in new variables (day, month, year) and pass them as arguments in a string-to-integer method and combine them all in a secondDate variable.

0

the date in database "datetime" and I want to convert it to date only to select between range in my app

0

using c# in my app