1
2
3
4
//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, 2 refactorings, tagged with javascript date

The code takes a date objec...

C270a3d9a0091977de642fec90b43ad3 Talk