Something you can try is date.js: http://www.datejs.com/
To make it node compatible at the very bottom of the script, add the line:
module.exports = Date;
Then you can demand it:
var date = require('./date');
Assuming date.js is in the same folder, otherwise change the required path.
Then a simple example code for testing:
console.log( date.today().next().thursday() )
source share