How to convert VARCHA
R time like '18:15'
to DateTime
like 23/09/2010 18:15:00
.
There can be any date format I just want to have date and time.
The reason is I have a column in db time of VARCHAR(5)
type. I have input, time in string, from user. Which I want to compare like this
WHERE MyTable.Time < @userProvidedTime