Export (0) Print
Expand All

DateTimeOffset Properties

The DateTimeOffset type exposes the following members.

  Name Description
Public property Supported by Silverlight for Windows Phone Supported by Xbox 360 Date Gets a DateTime value that represents the date component of the current DateTimeOffset object.
Public property Supported by Silverlight for Windows Phone Supported by Xbox 360 DateTime Gets a DateTime value that represents the date and time of the current DateTimeOffset object.
Public property Supported by Silverlight for Windows Phone Supported by Xbox 360 Day Gets the day of the month represented by the current DateTimeOffset object.
Public property Supported by Silverlight for Windows Phone Supported by Xbox 360 DayOfWeek Gets the day of the week represented by the current DateTimeOffset object.
Public property Supported by Silverlight for Windows Phone Supported by Xbox 360 DayOfYear Gets the day of the year represented by the current DateTimeOffset object.
Public property Supported by Silverlight for Windows Phone Supported by Xbox 360 Hour Gets the hour component of the time represented by the current DateTimeOffset object.
Public property Supported by Silverlight for Windows Phone Supported by Xbox 360 LocalDateTime Gets a DateTime value that represents the local date and time of the current DateTimeOffset object.
Public property Supported by Silverlight for Windows Phone Supported by Xbox 360 Millisecond Gets the millisecond component of the time represented by the current DateTimeOffset object.
Public property Supported by Silverlight for Windows Phone Supported by Xbox 360 Minute Gets the minute component of the time represented by the current DateTimeOffset object.
Public property Supported by Silverlight for Windows Phone Supported by Xbox 360 Month Gets the month component of the date represented by the current DateTimeOffset object.
Public property Static member Supported by Silverlight for Windows Phone Supported by Xbox 360 Now Gets a DateTimeOffset object that is set to the current date and time on the current computer, with the offset set to the local time's offset from Coordinated Universal Time (UTC).
Public property Supported by Silverlight for Windows Phone Supported by Xbox 360 Offset Gets the time's offset from Coordinated Universal Time (UTC).
Public property Supported by Silverlight for Windows Phone Supported by Xbox 360 Second Gets the second component of the clock time represented by the current DateTimeOffset object.
Public property Supported by Silverlight for Windows Phone Supported by Xbox 360 Ticks Gets the number of ticks that represents the date and time of the current DateTimeOffset object in clock time.
Public property Supported by Silverlight for Windows Phone Supported by Xbox 360 TimeOfDay Gets the time of day for the current DateTimeOffset object.
Public property Supported by Silverlight for Windows Phone Supported by Xbox 360 UtcDateTime Gets a DateTime value that represents the Coordinated Universal Time (UTC) date and time of the current DateTimeOffset object.
Public property Static member Supported by Silverlight for Windows Phone Supported by Xbox 360 UtcNow Gets a DateTimeOffset object whose date and time are set to the current Coordinated Universal Time (UTC) date and time and whose offset is TimeSpan.Zero.
Public property Supported by Silverlight for Windows Phone Supported by Xbox 360 UtcTicks Gets the number of ticks that represents the date and time of the current DateTimeOffset object in Coordinated Universal Time (UTC).
Public property Supported by Silverlight for Windows Phone Supported by Xbox 360 Year Gets the year component of the date represented by the current DateTimeOffset object.
Top

Community Additions

ADD
Show:
© 2015 Microsoft