hour of code javascript 34 Hour Of Code Javascript 74. If you know the UTC offset then you can pass it and get the time using the following function: function calcTime (city,… Written By Anonymous Monday, May 4, 2015 Add Comment Edit