You are reading a single comment by @Gordon and its replies. Click here to read the full conversation.
  • I'm afraid it's not quite as easy as changing the zimezone at the moment (I've just filed a bug for it). You can however just change the way the date is created, to create a date that's a few hours in the future or past:

    var timeZone = 2;
    var t = new Date(Date.now()+3600000*timeZone);
    console.log(t.toString());
    
About

Avatar for Gordon @Gordon started