var Utils = {

  prettyPrintTime: function(millis) {
    var d = new Date(0);
    d.setSeconds(millis / 1000);
    return this.padTime(d.getHours() - 1) + ":" + this.padTime(d.getMinutes()) + ":" + this.padTime(d.getSeconds());
  },

  padTime: function(s) {
    return (s + "").length < 2 ? "0" + s : s;
  },
  
  getMinutes: function(millis) {
  	var d = new Date(0);
    d.setSeconds(millis / 1000);
    return ((d.getHours() - 1) * 60) + (d.getMinutes());
  }
}