Can I (should I) change the name of this distribution? Date.prototype.timezone = function { this.setHours(this.getHours() + (new Date().getTimezoneOffset() / 60)); return this; } Edit: To avoid to pollute the Date API, the above function can be transformed into a utility function. On the plus side, it's trivial to just use the constructor that takes a String instead. In implementations, which ignore the locales and optionsarguments, the locale used and the form of the string returned are entirely implementation d… Writing code in comment? How to set the default value for an HTML