1.1.0 • Published 8 years ago
set-timezone v1.1.0
set-timezone
Set the timezone for the default Date object
Usage
console.log(new Date().toString()); // Default system timezone
// Set timezone
require('set-timezone')('America/New_York')
console.log(new Date().toString()); // Replaced timezone (New York/ET)