Compartilhar via


SystemState.Date Property

3/29/2010

Gets the current date. This Date/Time value changes once per day. Monitor this property to perform actions on a daily basis. Note: Do not use Date to get an accurate clock time; instead, use Time.

Namespace: Microsoft.WindowsMobile.Status
Assembly: Microsoft.WindowsMobile.Status (in microsoft.windowsmobile.status.dll)

Syntax

public static DateTime Date { get; }
'Declaration
Public Shared ReadOnly Property Date As DateTime

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread-safe. Any instance members are not guaranteed to be thread-safe.

See Also

Reference

SystemState Class
SystemState Members
Microsoft.WindowsMobile.Status Namespace