I am working on a program that requires the date of an event to get returned.
I am looking for a Date, not a DateTime.
Date
DateTime
Is there
For this, you need to use the date, but ignore the time value.
Ordinarily a date would be a DateTime with time of 00:00:00
00:00:00
The DateTime type has a .Date property which returns the DateTime with the time value set as above.
.Date