+ 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

9th Jun 2017, 2:09 AM
Mahmoud Reda
Mahmoud Reda - avatar
5 odpowiedzi
+ 1
thanks
9th Jun 2017, 3:13 AM
Mahmoud Reda
Mahmoud Reda - avatar
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.
9th Jun 2017, 2:49 AM
Joseph P French
Joseph P French - avatar
0
the date in database "datetime" and I want to convert it to date only to select between range in my app
9th Jun 2017, 2:56 AM
Mahmoud Reda
Mahmoud Reda - avatar
0
using c# in my app
9th Jun 2017, 2:57 AM
Mahmoud Reda
Mahmoud Reda - avatar