I have three integers: Hours, Minutes, and Seconds.
I want to create a DateTime object with System.Date and Time provided by the above three variables.
DateTime
Check out MSDN and have a look at the constructors that exists for DateTime, you'll find out that this is possible:
var theDate = new DateTime (DateTime.Today.Year, DateTime.Today.Month, DateTime.Today.Day, hours, minute, second);
2.1m questions
2.1m answers
60 comments
57.0k users