Noda Time
ToDateTimeOffset Method
NamespacesNodaTimeZonedDateTimeToDateTimeOffset()()()()

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

Constructs a DateTimeOffset value with the same local time and offset from UTC as this value.
Declaration Syntax
C#Visual BasicVisual C++
public DateTimeOffset ToDateTimeOffset()
Public Function ToDateTimeOffset As DateTimeOffset
public:
DateTimeOffset ToDateTimeOffset()
Return Value
A DateTimeOffset representation of this value.
Remarks
An offset does not convey as much information as a time zone; a DateTimeOffset represents an instant in time along with an associated local time, but it doesn't allow you to find out what the local time would be for another instant.

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