title: Change list of dates from YYYY/MM/DD to DD/MM/YYYY
body: <p>I have a simple script that asks for a month and year and then outputs all of the business days in that month, plus the count of business days.</p>
  <p>The date output appears as YYYY/MM/DD.</p>
  <p><strong>How do I switch it to DD/MM/YYYY?</strong></p>
  <pre class="lang-py prettyprint-override"><code>from datetime import date, timedelta
  import numpy as np
  from calendar import monthrange
  
  month = input(&quot;Month: &quot;)
  year = input(&quot;Year: &quot;)
  
  daysInMonth = monthrange(int(year), int(month))[1] # Extract the number of days in the month
  
  
  sdate = date(int(year), int(month), 1)   # start date
  edate = date(int(year), int(month), int(daysInMonth))   # end date
  
  delta = edate - sdate       # as timedelta
  
  numberOfDays = 0
  
  for i in range(delta.days + 1):  # Look through all days in the month
      day = sdate + timedelta(days=i)
      if np.is_busday([day]): # Determine if it's a business day
          print(&quot;- &quot; + str(day))
          numberOfDays += 1
  
  print(&quot;Working days:&quot; + str(numberOfDays))
  </code></pre>