title: Is it possible to get week number automatically from datepicker based on user input in Flask form?
body: <p>I'm totally new in Flask and I really have no idea how to pass only the week number from user input <a href="https://i.stack.imgur.com/5LX5I.png" rel="nofollow noreferrer">datepicker</a> (year-month-day) into <code> date = request.form.get (&quot;week_number&quot;))</code>.
  I've spent hours looking for a solution, and I doubt if it is even possible.</p>