Date.getTimezoneOffset

Date.getTimezoneOffset

Class Overview | Class Members | This Package | All Packages

Syntax
public int getTimezoneOffset()
Returns
the time-zone offset, in minutes, for the current locale.
Description
Note: getTimezoneOffset() is deprecated.

Returns the local time-zone offset. The time-zone offset is the number of minutes that must be added to GMT to give the local time zone. This value includes the correction, if necessary, for daylight saving time.

See Also
Calendar, TimeZone