Noda Time
GetUtcOffset Method (instant)
NamespacesNodaTimeDateTimeZoneGetUtcOffset(Instant)
Returns the offset from UTC, where a positive duration indicates that local time is later than UTC. In other words, local time = UTC + offset.
Declaration Syntax
C#Visual BasicVisual C++
public virtual Offset GetUtcOffset(
	Instant instant
)
Public Overridable Function GetUtcOffset ( 
	instant As Instant
) As Offset
public:
virtual Offset GetUtcOffset(
	Instant instant
)
Parameters
instant (Instant)
The instant for which to calculate the offset.
Return Value
Offset
The offset from UTC at the specified instant.
Remarks
This is mostly a convenience method for calling GetZoneInterval(instant).WallOffset, although it can also be overridden for more efficiency.

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