Which Function returns the system date without time? [……]
A. Today B. Date C. Time
Answers
Answered by
1
Answer:
A. today
Explanation:
Well, you can get just today's date as a DateTime using the Today property:
DateTime today = DateTime.Today;
or more generally, you can use the Date property. For example, if you wanted the UTC date you could use:
DateTime dateTime = DateTime.UtcNow.Date
Similar questions