title: Weekday as String to number
body: <p>I am trying to convert my weekday as a string to an int in python here is what I have </p>
  
  <pre><code>from datetime import date, datetime, time, time delta
  from pytz import timezone
  
  now = datetime.now(timezone('UTC'))
  dt_tz = now.astimezone(timezone('US/Eastern'))
  dt = dt_tz.replace(tzinfo=None)
  weekday = 'Friday'
  weekday_as_int = dt.strptime(weekday, "%A")
  </code></pre>
  
  <p>But i get this error</p>
  
  <pre><code>ValueError: time data 'Friday' does not match format '%A'
  </code></pre>
  
  <p>Why won't it change <code>Friday</code> to a int?</p>