David Smith

David Smith

  • NA
  • 2k
  • 0

How to convert time to datetime

Dec 10 2012 7:36 AM
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 (8)