I have a little problem that I just cannot seem to solve. I have two datetime variables, the important data in the one is the year, month and day. The other datetime variable stores the hour, minute and second.
The reason for this chaos is due to the database where I'm pulling the data from, where they have two different columns to store the actual date and the time. Here is the code:
DateTime date = Convert.ToDateTime(dTable.Rows[i]);
DateTime time = Convert.ToDateTime(dTable.Rows[i]);
DateTime newDateTime = new DateTime();