title: Getting the date of the first day of the week
body: <p>I have records in a table which have a date field.</p>
  
  <p>I would like to query the table so that the records returned are only the Sunday's date of a given week.</p>
  
  <p>How could I use python's <code>datetime</code> library to achieve this? Thanks.</p>