get_utc_offset


Description:

public TimeSpan get_utc_offset ()

Determines the offset to UTC in effect at the time and in the time zone of this.

The offset is the number of microseconds that you add to UTC time to arrive at local time for the time zone (ie: negative numbers for time zones west of GMT, positive numbers for east).

If this represents UTC time, then the offset is always zero.

Parameters:

this

a DateTime

Returns:

the number of microseconds that should be added to UTC to get the local time