DateTimeOffset Properties

DateTimeOffset Properties

 

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

NameDescription
System_CAPS_pubpropertyDate

Gets a DateTime value that represents the date component of the current DateTimeOffset object.

System_CAPS_pubpropertyDateTime

Gets a DateTime value that represents the date and time of the current DateTimeOffset object.

System_CAPS_pubpropertyDay

Gets the day of the month represented by the current DateTimeOffset object.

System_CAPS_pubpropertyDayOfWeek

Gets the day of the week represented by the current DateTimeOffset object.

System_CAPS_pubpropertyDayOfYear

Gets the day of the year represented by the current DateTimeOffset object.

System_CAPS_pubpropertyHour

Gets the hour component of the time represented by the current DateTimeOffset object.

System_CAPS_pubpropertyLocalDateTime

Gets a DateTime value that represents the local date and time of the current DateTimeOffset object.

System_CAPS_pubpropertyMillisecond

Gets the millisecond component of the time represented by the current DateTimeOffset object.

System_CAPS_pubpropertyMinute

Gets the minute component of the time represented by the current DateTimeOffset object.

System_CAPS_pubpropertyMonth

Gets the month component of the date represented by the current DateTimeOffset object.

System_CAPS_pubpropertySystem_CAPS_staticNow

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).

System_CAPS_pubpropertyOffset

Gets the time's offset from Coordinated Universal Time (UTC).

System_CAPS_pubpropertySecond

Gets the second component of the clock time represented by the current DateTimeOffset object.

System_CAPS_pubpropertyTicks

Gets the number of ticks that represents the date and time of the current DateTimeOffset object in clock time.

System_CAPS_pubpropertyTimeOfDay

Gets the time of day for the current DateTimeOffset object.

System_CAPS_pubpropertyUtcDateTime

Gets a DateTime value that represents the Coordinated Universal Time (UTC) date and time of the current DateTimeOffset object.

System_CAPS_pubpropertySystem_CAPS_staticUtcNow

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.

System_CAPS_pubpropertyUtcTicks

Gets the number of ticks that represents the date and time of the current DateTimeOffset object in Coordinated Universal Time (UTC).

System_CAPS_pubpropertyYear

Gets the year component of the date represented by the current DateTimeOffset object.

Return to top
Show:
© 2016 Microsoft