How to use it: 1. A simple yet configurable jQuery week picker plugin for easily selecting weeks from a calendar popup. z63 zerosixthree Open navigation. Week Year Start Month: Week Year Start Date: When does week 1 start: First day of week: Need some help? Examples might be simplified to improve reading and learning. Summary: Learn how to use Windows PowerShell to easily get the number of the week of the year. This is a useful function, who tell you week in the year for a custom date. Active 3 years, 11 months ago. This means that when we hover over the calendar cells, the whole week row needs to be highlighted; and when we select a date, the week start and date will be returned. A simple yet configurable jQuery week picker plugin for easily selecting weeks from a calendar popup. GitHub Gist: instantly share code, notes, and snippets. Search no more, because here is the solution. getDay() is an date method in JavaScript, which is used to return the day of the week (Name/number of the day in a week between 0 to 6) for the specified date. You can follow the question or vote as helpful, but you cannot reply to this thread. If the value given is from 0 to 6, the resulting date will be within the current (Sunday-to-Saturday) week. Do someone have prior experience in dealing with them? Anonymous says: September 12, 2017 at 12:03 PM. Custom date format. var month = date.getMonth(); Once I get the month and year for selected or given date, now I need to get the first and last day of the month. Detect what week of the year it is with jQuerys date() function. Migrate 1.1.0 jQuery Mobile 1.2.0 jQuery Mobile 1.3.0b1 jQuery UI 1.9.2 Framework