Export (0) Print
Expand All

DateTime.Today Property

Gets the current date.

[Visual Basic]
Public Shared ReadOnly Property Today As DateTime
[C#]
public static DateTime Today {get;}
[C++]
public: __property static DateTime get_Today();
[JScript]
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.

Requirements

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

Show:
© 2015 Microsoft