getTimezoneOffset(): Difference in minutes

JavaScript collects local time ( client computer ) time and it also knows the UTC time by knowing the time zone setting of the computer. So using these two JavaScript can give us difference in these two times in minutes. Here is a sample.
<script type="text/javascript"> 
var dt= new Date();
The output is here

Displaying UTC string

Subscribe to our YouTube Channel here


* indicates required
Subscribe to plus2net

    Post your comments , suggestion , error , requirements etc here .

    We use cookies to improve your browsing experience. . Learn more
    HTML MySQL PHP JavaScript ASP Photoshop Articles FORUM . Contact us
    ©2000-2024 All rights reserved worldwide Privacy Policy Disclaimer