title: How do I add AM/PM to adatetime.strftime module?
body: <p>I've incorporated a datetime module that gives the output of the current time, but it does not include AM/PM in the output. Specifically I am using the &quot;Now&quot; and &quot;strftime&quot; features to give the exact time in the output.  I am wondering what else I might need to add in order for Am or PM to show but I could not find anything to figure it out.  Any help is appreciated.</p>
  <pre><code>import datetime
  my_datetime = datetime.datetime.now()
  print(&quot;Checkout at:&quot;, my_datetime.strftime(&quot;%Y-%m-%d %H:%M:%S&quot;)) 
  </code></pre>
  <p>For reference, the output right now looks like this:
  &quot;Checkout at: 2022-07-28 01:12:07&quot;</p>