Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Export (0) Print
Expand All

DateAndTime Properties

The DateAndTime type exposes the following members.

  Name Description
Public property Static member DateString Returns or sets a String value representing the current date according to your system.
Public property Static member Now Returns a Date value containing the current date and time according to your system.
Public property Static member TimeOfDay Returns or sets a Date value containing the current time of day according to your system.
Public property Static member Timer Returns a Double value representing the number of seconds elapsed since midnight.
Public property Static member TimeString Returns or sets a String value representing the current time of day according to your system.
Public property Static member Today Returns or sets a Date value containing the current date according to your system.
Top
Show:
© 2015 Microsoft