getUTCMinutes() to read Minutes of GMT

By using getUTCMinutes() function we can read minutes part of the UTC time. Here is a sample code.

<script type="text/javascript">
var dt= new Date();
document.write("using getutcMinutes : ");
document.write(dt.getUTCMinutes());
</script>

The output is here

This is the minutes part of the GMT.

Difference in these two times by using getTimezoneOffset() function

Subscribe to our mailing list

* indicates required
Subscribe to plus2net
Your Rating


Google+

More on JavaScript Date & Time

Post Comment This is for short comments only. Use the forum for more discussions.




Subscribe to our mailing list

* indicates required
Subscribe to plus2net
HTML . MySQL. PHP. JavaScript. ASP. Photoshop. Articles. FORUM Contact us
©2000-2018 plus2net.com All rights reserved worldwide Privacy Policy Disclaimer