title: Change JavaScript Date in Chrome
body: <p>Without having to change the date/time of the computer I am debugging, is there a way, either via the dev tools or by running some custom JavaScript in the console, to set / change what time or date Google Chrome thinks it is?</p>
  
  <p>IE so that <code>new Date()</code> returns what you've set the browser to think it is, rather than the system's date.</p>
  
  <p>There are ways around it, but it would be handy to debug different dates / times.</p>