Mono Class Library: OverviewSystem.DateTime: Property Members |
The properties of System.DateTime are listed below. For a list of all members, see the DateTime Members list.
See Also: Inherited members from System.ValueType
[read-only] Date DateTime. Gets the date component of the current instance. [read-only] Day int. Gets the day of the month represented by the current instance. [read-only] DayOfWeek DayOfWeek. Gets the day of the week represented by the current instance. [read-only] DayOfYear int. Gets the day of the year represented by the current instance. [read-only] Hour int. Gets the hour represented by the current instance. [read-only] Kind DateTimeKind. Documentation for this section has not yet been entered. [read-only] Millisecond int. Gets the milliseconds component of the date represented by the current instance. [read-only] Minute int. Gets the minute component of the date represented by the current instance. [read-only] Month int. Gets the month component of the date represented by the current instance. [read-only] staticNow DateTime. Gets a DateTime representing the current local date and time. [read-only] Second int. Gets the seconds component of the date represented by the current instance. [read-only] Ticks long. Gets the number of 100-nanosecond ticks that represent the date and time of the current instance. [read-only] TimeOfDay TimeSpan. Gets the time of day of the current instance. [read-only] staticToday DateTime. Gets the current date. [read-only] staticUtcNow DateTime. Gets the current time converted to coordinated universal time (UTC). [read-only] Year int. Gets the year component of the date represented by the current instance.