title: Converting from military time to standard time, indicating AM/PM, using Lubridate package
body: <p>I am trying to convert a column that's part of a data frame from military time to standard time. I would also like to indicate AM/PM. I'm trying to do this within the capabilities of the R's lubridate package.  </p>
  
  <p>from another data frame called "df" I've created a new data frame called "out" with the following code:</p>
  
  <pre class="lang-r prettyprint-override"><code>out &lt;- df %&gt;% mutate(NewDate = parse_date_time(CreatedDate, orders = "mdy IMS p")) %&gt;%
    select(CreatedDate, NewDate) 
  </code></pre>
  
  <p>The "df" column I'm manipulating with the mutate function, called "CreatedDate", has cells that look like this:</p>
  
  <pre class="lang-r prettyprint-override"><code>01/01/2019 02:12:37 PM
  01/01/2019 10:37:57 PM
  01/02/2014 05:10:35 AM
  </code></pre>
  
  <p>I have manipulated that column to produce the new column called "NewDate" which looks like this:</p>
  
  <pre class="lang-r prettyprint-override"><code>2018-04-12 11:11:26
  2018-11-13 13:06:56
  2018-04-16 05:30:13
  </code></pre>
  
  <p>I'm trying to get the column "NewDate" to be standardized but on regular time and to include the AM/PM designation, like it did before I applied the parse_date_time function. </p>
  
  <p>I expected that, by including the "mdy IMS p" within my <code>parse_date_time</code> function, I would have generated content within my NewDate column that looks like this:</p>
  
  <pre class="lang-r prettyprint-override"><code>2018-04-12 11:11:26 AM
  2018-11-13 01:06:56 PM
  2018-04-16 05:30:13 AM
  </code></pre>