I want to pass the date object in the function and determine what was the first date of that week.
Example: If I am in today's date (2009/06/24), I want to return the first date of this week, i.e. Sunday date was 06/21/2009 therefore It has to be back.
Know about any standard JavaScript function that does this? Thanks
The answer to this question was found:
Comments
Post a Comment