title: How do I convert a time string like "last Sunday" or "Next Monday" into datetime format in python
body: <p>I am trying to find a way to convert a time string like <strong>"last Sunday"</strong> or <strong>"Next Monday"</strong> into DateTime format using python 3. I tried out using the follwoing:</p>
  
  <pre><code>x = datetime.strptime("Sunday", "%A")
  </code></pre>
  
  <p>but it gave a output like this: </p>
  
  <pre><code>1900-01-01 00:00:00
  </code></pre>
  
  <p>I want to know how to get the Date in relation to the current Date!</p>
  
  <p>Thank you :)</p>