I want to pass a date object into a function and determine what the first date of that week was.
Example: If I pass in today\'s date (2009/06/24) I want the function to
found the answer on this question: How do I get the first day of the previous week from a date object in JavaScript?