This documentation is archived and is not being maintained.

DateTime.Today Property

Gets the current date.

[Visual Basic]
Public Shared ReadOnly Property Today As DateTime
public static DateTime Today {get;}
public: __property static DateTime get_Today();
public static function get Today() : DateTime;

Property Value

A DateTime set to the date of this instance, with the time part set to 00:00:00.


Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family, .NET Compact Framework, Common Language Infrastructure (CLI) Standard

See Also

DateTime Structure | DateTime Members | System Namespace