Javascript Date utc2local()
local()
Date.prototype.utc2local = function() { this.setTime(//from w w w . j a va 2 s . c o m this.getTime()-(this.getTimezoneOffset()*60*1000) ); }