SyntaxFix
Write A Post
Hire A Developer
Questions
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.
DateTime.Today