Retrieves the date of the instance with the time value set to midnight.
[Visual Basic] Public ReadOnly Property Date As DateTime [C#] public DateTime Date {get;} [C++] public: __property DateTime get_Date(); [JScript] public function get Date() : DateTime;
Read-only.
The Date property returns just the date portion of this DateTime instance with the time value set to midnight.
DateTime Structure | DateTime Members | System Namespace | Ticks | TicksPerDay