I am building a project and in that project the user is going to input a date eg. 8/2/2011. then i am going to show them the information for the week that contains 8/2/2011. How can you figure out which week to show? for this project i am using javascript, jquery, and php.
Share
You should be able to do what you want by getting the first day of the week the given date occurs in.
If your weeks start on Monday:
//returns the current date if does fall on a Monday