I'm using this little scriptlet (adapted from Wolf Thunderspirit's here ) to add a couple messages in the game chat window and API log. const APIStartup = (()=>{ const scriptName = "API Startup"; const version = '0.1'; const OuterStyleStart = `width: 75%; margin: auto; padding: 0px; border-radius: 4px; box-shadow: 1px 1px 1px #707070;`; const InnerStyleStart = `text-align: center; vertical-align: middle; padding: 0px 0px; margin: 0px auto; border: 1px solid #000; border-radius: 4px; color: #000; background-image: -webkit-linear-gradient(-45deg, #a7c7dc 0%,#85b2d3 100%); text-shadow: 0px 0px #222, 0px 0px #222, 0px 0px #222, 0px 0px #222 , 0px 0px #222;`; var currentTime = new Date(); currentTime.setHours(currentTime.getTimezoneOffset()-8); var timestamp = (new Date(currentTime).toLocaleString('en-US')); const checkInstall = function() { log('-=> ' + scriptName + ' v' + version + ' <=-'); setTimeout(()=>log(`API Wakeup Complete at ` +timestamp),0); sendChat("API Startup", `/w gm <div style='${OuterStyleStart}'><div style='${InnerStyleStart}'>API Wakeup Complete</div></div>`,null,{noarchive:true}); }; log(`API Wakeup Begun...`); sendChat("API Startup", `/w gm <div style='${OuterStyleStart}'><div style='${InnerStyleStart}'>API Starting Up</div></div>`,null,{noarchive:true}); on("ready",() => { checkInstall(); }); })(); But for some reason the Date/Time offset that gets printed in the log isn't consistent, so I'm guessing that I am using an incorrect version of .getTimezoneOffset or .toLocaleString. By inconsistent, I mean the time that is printed will vary by several hours different than the time that is currently displayed on my computer. Any idea what I'm doing wrong? I'm pretty sure it's something simple! I'm hoping to set it to base the offset from my computer's timezone, but if it was set to a static timezone that would work fine too (U.S Pacific timezone).