Share via


DateTime.Today Property

Gets the current date.

Namespace: System
Assembly: mscorlib (in mscorlib.dll)

Syntax

public static DateTime Today { get; }

Property Value

A DateTime object with the date component set to today's date and the time component set to 00:00:00.

Version Information

Available in the .NET Micro Framework versions 2.0, 2.5, 3.0, 4.0, and 4.1.

See Also

Reference

DateTime Structure
DateTime Members
System Namespace