DateAndTime Properties
Microsoft Silverlight will reach end of support after October 2021. Learn more.
Include Protected Members
Include Inherited Members
Include Silverlight Members
Include Silverlight for Windows Phone Members
Include XNA Framework Members
The DateAndTime type exposes the following members.
Properties
Name | Description | |
---|---|---|
DateString | Returns or sets a String value representing the current date according to your system. | |
Now | Returns a Date value containing the current date and time according to your system. | |
TimeOfDay | Returns or sets a Date value containing the current time of day according to your system. | |
Timer | Returns a Double value representing the number of seconds elapsed since midnight. | |
TimeString | Returns or sets a String value representing the current time of day according to your system. | |
Today | Returns or sets a Date value containing the current date according to your system. |
Top