Noda Time
ToOffsetDateTime Method
NamespacesNodaTimeZonedDateTimeToOffsetDateTime()()()()

[This is preliminary documentation and is subject to change.]

Constructs an OffsetDateTime with the same local date and time, and the same offset as this zoned date and time, effectively just "removing" the time zone itself.
Declaration Syntax
C#Visual BasicVisual C++
public OffsetDateTime ToOffsetDateTime()
Public Function ToOffsetDateTime As OffsetDateTime
public:
OffsetDateTime ToOffsetDateTime()
Return Value
An OffsetDateTime with the same local date/time and offset as this value.

Assembly: NodaTime (Module: NodaTime.dll) Version: 1.2.0.0 (1.2.0)