I am able to get date and time using:
DateTime now = DateTime.Now;
How can I get the current date and time separately in the DateTime forma
string now = Convert.ToString(DateTime.Now.ToShortDateString()); Console.WriteLine(now); Console.ReadLine();