6
Reply

How to convert time to datetime

David Smith

David Smith

Dec 10 2012 7:36 AM
11.8k
How to convert time to datetime.

I am trying to send time to a datetime column.

So if I have 12:00 PM,  how to convert to datetime , so i can send the value to the actual field in the database. I am trying to
insert the time values into the TimeFrom and TimeTo columns

Database columns,

ID, DateFrom, DateTo, TimeFrom, TimeTo

Answers (6)