Share your code.
Test your time-dependent app by monkey patching the
Date function and overriding your system time. Timemachine is compatible with global namespaces, RequireJS, CommonJS and NodeJS.
$ bower install timemachine
$ npm install timemachine
timemachine;console; // December 25, 1991 13:12:59
||Date you want set as a string||
||Date you want set as a timestamp||
||Time offset in milliseconds||
||Whether the system clock should continue ticking||
||Whether the system time should be kept||
timemachine;console; // Your real system time