DateTimeWithZone StructureDateTimeWithZone StructureDateTimeWithZone Structure
Represents a Gregorian date and time. The corresponding XML Schema type is
xs:dateTime.
Syntax
Public NotInheritable DateTimeWithZone _ Implements IEquatable(Of DateTimeWithZone)
public sealed DateTimeWithZone : IEquatable<DateTimeWithZone>
public: value class DateTimeWithZone sealed : IEquatable<DateTimeWithZone>
The DateTimeWithZoneDateTimeWithZoneDateTimeWithZone
type exposes the following members.
Constructors
Properties
| Property | Description | |
|---|---|---|
| DateDateDate | Gets the date component of this DateTimeWithZoneDateTimeWithZoneDateTimeWithZone represented as a DateWithZoneDateWithZoneDateWithZone. | |
| DayDayDay | Gets the day component of this DateTimeWithZoneDateTimeWithZoneDateTimeWithZone. | |
| DayOfWeekDayOfWeekDayOfWeek | Gets the day of the week. | |
| DayOfYearDayOfYearDayOfYear | Gets the day of the year. | |
| DaysPastEpochDaysPastEpochDaysPastEpoch |
Gets the number of complete days past the epoch (0001-01-01T00:00:00).
| |
| GDayGDayGDay | Gets the day component of this DateTimeWithZoneDateTimeWithZoneDateTimeWithZone represented as a GDayGDayGDay. | |
| GMonthGMonthGMonth | Gets the month component of this DateTimeWithZoneDateTimeWithZoneDateTimeWithZone represented as a GMonthGMonthGMonth. | |
| GMonthDayGMonthDayGMonthDay | Gets the month and day components of this DateTimeWithZoneDateTimeWithZoneDateTimeWithZone represented as a GMonthDayGMonthDayGMonthDay. | |
| GYearGYearGYear | Gets the year component of this DateTimeWithZoneDateTimeWithZoneDateTimeWithZone represented as a GYearGYearGYear. | |
| GYearMonthGYearMonthGYearMonth | Gets the year and month components of this DateTimeWithZoneDateTimeWithZoneDateTimeWithZone represented as a GYearMonthGYearMonthGYearMonth. | |
| HourHourHour | Gets the hour component of this DateTimeWithZoneDateTimeWithZoneDateTimeWithZone. | |
| MinuteMinuteMinute | Gets the minute component of this DateTimeWithZoneDateTimeWithZoneDateTimeWithZone. | |
| MonthMonthMonth | Gets the month component of this DateTimeWithZoneDateTimeWithZoneDateTimeWithZone. | |
| NowNowNow | Gets a DateTimeWithZoneDateTimeWithZoneDateTimeWithZone object that is set to the current date and time on this computer expressed in the current time zone of this computer. | |
| SecondSecondSecond | Gets the second component of this DateTimeWithZoneDateTimeWithZoneDateTimeWithZone. | |
| SecondsPastMidnightSecondsPastMidnightSecondsPastMidnight | Gets the number of whole and partial seconds from midnight on this day. | |
| TimeTimeTime | Gets the time component of this DateTimeWithZoneDateTimeWithZoneDateTimeWithZone represented as a TimeWithZoneTimeWithZoneTimeWithZone. | |
| TimeZoneTimeZoneTimeZone | Gets the optional time zone component of this DateTimeWithZoneDateTimeWithZoneDateTimeWithZone. | |
| UtcNowUtcNowUtcNow | Gets a DateTimeWithZoneDateTimeWithZoneDateTimeWithZone object that is set to the current date and time on this computer expressed in Coordinated Universal Time (UTC). | |
| YearYearYear | Gets the year component of this DateTimeWithZoneDateTimeWithZoneDateTimeWithZone. |
