DateTime Properties

DateTime Properties

 

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

NameDescription
System_CAPS_pubpropertyDate

Gets the date component of this instance.

System_CAPS_pubpropertyDay

Gets the day of the month represented by this instance.

System_CAPS_pubpropertyDayOfWeek

Gets the day of the week represented by this instance.

System_CAPS_pubpropertyDayOfYear

Gets the day of the year represented by this instance.

System_CAPS_pubpropertyHour

Gets the hour component of the date represented by this instance.

System_CAPS_pubpropertyKind

Gets a value that indicates whether the time represented by this instance is based on local time, Coordinated Universal Time (UTC), or neither.

System_CAPS_pubpropertyMillisecond

Gets the milliseconds component of the date represented by this instance.

System_CAPS_pubpropertyMinute

Gets the minute component of the date represented by this instance.

System_CAPS_pubpropertyMonth

Gets the month component of the date represented by this instance.

System_CAPS_pubpropertySystem_CAPS_staticNow

Gets a DateTime object that is set to the current date and time on this computer, expressed as the local time.

System_CAPS_pubpropertySecond

Gets the seconds component of the date represented by this instance.

System_CAPS_pubpropertyTicks

Gets the number of ticks that represent the date and time of this instance.

System_CAPS_pubpropertyTimeOfDay

Gets the time of day for this instance.

System_CAPS_pubpropertySystem_CAPS_staticToday

Gets the current date.

System_CAPS_pubpropertySystem_CAPS_staticUtcNow

Gets a DateTime object that is set to the current date and time on this computer, expressed as the Coordinated Universal Time (UTC).

System_CAPS_pubpropertyYear

Gets the year component of the date represented by this instance.

Return to top
Show:
© 2016 Microsoft