getDstOffsetAtGivenTimeInMinutes( date ) method

Timezone

Syntax

<static> getDstOffsetAtGivenTimeInMinutes( date ) → {int}

Parameters

Name Type Description
date Date Date at which to determine daylight savings offset.

Returns

Returns the number of minutes offset for daylight savings for the current timezone and at the given Date, or 0 if the current timezone doesn't practice daylight savings.

Type:

int

Example

var iDstOffsetAtTime = hwc.getDstOffsetAtGivenTimeInMinutes(date);

Source

Timezone.js, line 438.