JavaScript Date getTimezoneOffset()
JavaScript Date getTimezoneOffset()
The getTimezoneOffset() method is used to return the difference between UTC time and local time. It returns the difference in minutes.
Syntax:-
Its syntax is:- Date.getTimezoneOffset()
Return:-
Its return is:- number of the time difference between UTC and Local Time in minutes