6
Answers

How to convert time to datetime

David Smith

David Smith

11y
11.8k
1
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)