René Nyffenegger's collection of things on the web
René Nyffenegger on Oracle - Most wanted - Feedback
 

Adding and subtracting days in JavaScript

  var today       =new Date();
  var in_a_week   =new Date().setDate(today.getDate()+7);
  var ten_days_ago=new Date().setDate(today.getDate()-10);