private void StartAuction()
{
DateTime closeDate;
closeDate = DateTime.Parse(Console.ReadLine());
}
I am able to set the date,month and year but I want the hours,minutes and seconds to setup automatically to the current time of the day. for example if the current time is 15:24
, I want the user to add the date which could be 21/03/2013
and then I want the time to be 15:24:00 and not 00:00:00
as it currently does.
Any suggestions?