AstronomyObservationLocalDate Method
Gets midnight of the date in
dateTime, with the UTC offset of
TimeZone
on that date.
Namespace: InnerDrive.GeographyAssembly: InnerDrive.Geography (in InnerDrive.Geography.dll) Version: 5.3.9666.0
protected DateTimeOffset LocalDate(
DateTimeOffset dateTime
)
- dateTime DateTimeOffset
- The date and time provided to the method
DateTimeOffsetMidnight of the date in
dateTime, with the UTC offset that
TimeZone observes on that date.
Noon is used internally to determine the UTC offset, which avoids ambiguity at
DST boundaries where the offset at midnight can differ from the offset during the rest of the day.