Click or drag to resize
DateTimeDate Property
Gets the date component of this instance.

Namespace: System
Assembly: mscorlib (in mscorlib.dll) Version: 4.0.0.0
Syntax
C#
public DateTime Date { get; }

Return Value

Type: DateTime
A new object with the same date as this instance, and the time value set to 12:00:00 midnight (00:00:00).
See Also