Date.prototype.addBizDays = function(n){
 var day = this.getDay();
 var d =  new Date();
...

JavaScript Business Days

by 3nz0, January 23, 2010 21:51, No refactoring, tagged with javascript date, javascript prototype

The function add or substra...

Fa876f707d4e3f879985bfd748c6f0d7 Talk
//Given a date, returns a new date object that contains the start of the week
function startOfWeek(d){
    var beg = new Date(d);
...

JavaScript Week Of Date

by spyckie.myopenid.com, May 23, 2008 20:55, 6 refactorings, tagged with javascript date

The code takes a date objec...

C270a3d9a0091977de642fec90b43ad3 Talk