CA PAM::.Javascript::. getTimezoneOffset() Method

Document created by TMACUL Champion on Mar 24, 2017
Version 1Show Document
  • View in full screen mode

getTimezoneOffset()

 

Overview - definition

 

Returns the time difference between UTC time and local time, in minutes

 

Usage

The getTimezoneOffset() method returns the time difference between UTC time and local time, in minutes.

 

For example:

 

If your time zone is GMT+2, -120 will be returned. (Brazil - Brasilia - Daylight saving time dates)

If your time zone is GMT+3, -180 will be returned. (Brazil - Brasilia)

Results

A Number of minutes between UTC from (GMT-14h) -840 and 720 (GMT+12h)

Time Zone Map 

Examples

 

var vDate = new Date();
var vtimezone = vDate.getTimezoneOffset();

 

 

 

know_more.png

Summary CA Process Automation 

Summary CA Service Management Community 

Service Desk Manager 15 days Implementation 

CABI:: Summary - BOXI for CA SDM 

Summary CA SDM Scoreboard 

 

 

Was useful, please leave your feedback!

Attachments

    Outcomes