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
There is no built-in date-only type in .NET.
The convention is to use a DateTime with the time portion set to midnight.
DateTime
The static DateTime.Today property will give you today's date.