Noda Time
FromDateTimeOffset Method (dateTimeOffset)
NamespacesNodaTimeZonedDateTimeFromDateTimeOffset(DateTimeOffset)

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

Returns a new ZonedDateTime representing the same instant in time as the given DateTimeOffset. The time zone used will be a fixed time zone, which uses the same offset throughout time.
Declaration Syntax
C#Visual BasicVisual C++
public static ZonedDateTime FromDateTimeOffset(
	DateTimeOffset dateTimeOffset
)
Public Shared Function FromDateTimeOffset ( _
	dateTimeOffset As DateTimeOffset _
) As ZonedDateTime
public:
static ZonedDateTime FromDateTimeOffset(
	DateTimeOffset dateTimeOffset
)
Parameters
dateTimeOffset (DateTimeOffset)
Date and time value with an offset.
Return Value
A ZonedDateTime value representing the same instant in time as the given DateTimeOffset.

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