I have a table with two columns of "text" type where in one is a date in format 10.03.2013. and in second is time in format 15:45:32. Since both are text I would like to know if is possible with PostgreSQL those strings compare with windows DateTime value.
I was try to get records with BETWEEN() but didn't get nothing.
"(mydate BETWEEN " & fromdate.Date.ToString & _
" AND " & todate.Date.ToString & ") AND _
(mytime BETWEEN " & fromdate.TimeOfDay.ToString & _
" AND " & todate.TimeOfDay.ToString & ")"
mydate and mytime are columns while fromdate and to date are windows datetime types.
Any advice?