If you use two DateTime objects, one to save the date of the other, you can do the following:
var date = new DateTime(2016,6,28); var time = new DateTime(1,1,1,13,13,13); var combinedDateTime = date.AddTicks(time.TimeOfDay.Ticks);
An example of this can be found here.
user3258819 Jul 06 '15 at 18:00 2015-07-06 18:00
source share