I would like to be able to get the local time of the local computer using Javascript Date class.

var tz = new Date().getTimezoneOffset();

Gives you timezone.

How would I get local time?