<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Conversion of AM/PM to 24 hrs format in Discussions</title>
    <link>https://community.jmp.com/t5/Discussions/Conversion-of-AM-PM-to-24-hrs-format/m-p/550053#M76633</link>
    <description>&lt;P&gt;Hello JMP user,&lt;/P&gt;&lt;P&gt;Can you please suggest how to convert the time AM/PM to 24 hrs format.&lt;/P&gt;&lt;P&gt;In below table, column 1 is in "Character" Data Type and I want to convert it in 24hrs (h:m:s) format.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="chandankishor66_0-1664360632850.png" style="width: 400px;"&gt;&lt;img src="https://community.jmp.com/t5/image/serverpage/image-id/45866iAA691940AFF240B8/image-size/medium?v=v2&amp;amp;px=400" role="button" title="chandankishor66_0-1664360632850.png" alt="chandankishor66_0-1664360632850.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Chandan&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Fri, 09 Jun 2023 15:59:10 GMT</pubDate>
    <dc:creator>chandankishor66</dc:creator>
    <dc:date>2023-06-09T15:59:10Z</dc:date>
    <item>
      <title>Conversion of AM/PM to 24 hrs format</title>
      <link>https://community.jmp.com/t5/Discussions/Conversion-of-AM-PM-to-24-hrs-format/m-p/550053#M76633</link>
      <description>&lt;P&gt;Hello JMP user,&lt;/P&gt;&lt;P&gt;Can you please suggest how to convert the time AM/PM to 24 hrs format.&lt;/P&gt;&lt;P&gt;In below table, column 1 is in "Character" Data Type and I want to convert it in 24hrs (h:m:s) format.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="chandankishor66_0-1664360632850.png" style="width: 400px;"&gt;&lt;img src="https://community.jmp.com/t5/image/serverpage/image-id/45866iAA691940AFF240B8/image-size/medium?v=v2&amp;amp;px=400" role="button" title="chandankishor66_0-1664360632850.png" alt="chandankishor66_0-1664360632850.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Chandan&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 09 Jun 2023 15:59:10 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Conversion-of-AM-PM-to-24-hrs-format/m-p/550053#M76633</guid>
      <dc:creator>chandankishor66</dc:creator>
      <dc:date>2023-06-09T15:59:10Z</dc:date>
    </item>
    <item>
      <title>Re: Conversion of AM/PM to 24 hrs format</title>
      <link>https://community.jmp.com/t5/Discussions/Conversion-of-AM-PM-to-24-hrs-format/m-p/550057#M76635</link>
      <description>&lt;P&gt;If your data is always like that and you just want the hours, I would use formula with Word or Words and then just calculate the values together. One example below:&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;Num(Word(1, :Column 1)) + If(Word(2, :Column 1) == "PM", 12, 0);&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Wed, 28 Sep 2022 11:04:35 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Conversion-of-AM-PM-to-24-hrs-format/m-p/550057#M76635</guid>
      <dc:creator>jthi</dc:creator>
      <dc:date>2022-09-28T11:04:35Z</dc:date>
    </item>
    <item>
      <title>Re: Conversion of AM/PM to 24 hrs format</title>
      <link>https://community.jmp.com/t5/Discussions/Conversion-of-AM-PM-to-24-hrs-format/m-p/551481#M76734</link>
      <description>&lt;P&gt;&lt;a href="https://community.jmp.com/t5/user/viewprofilepage/user-id/14366"&gt;@jthi&lt;/a&gt;&amp;nbsp;gave you a good answer for exactly what you were looking to do. However, it's a good practice to use a store times in a time column.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Learn more about how to do that:&amp;nbsp;&lt;LI-MESSAGE title="Using dates, times, datetimes and durations in JMP" uid="68689" url="https://community.jmp.com/t5/JMPer-Cable/Using-dates-times-datetimes-and-durations-in-JMP/m-p/68689#U68689" discussion_style_icon_css="lia-mention-container-editor-message lia-img-icon-blog-thread lia-fa-icon lia-fa-blog lia-fa-thread lia-fa"&gt;&lt;/LI-MESSAGE&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 30 Sep 2022 20:59:18 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Conversion-of-AM-PM-to-24-hrs-format/m-p/551481#M76734</guid>
      <dc:creator>Jeff_Perkinson</dc:creator>
      <dc:date>2022-09-30T20:59:18Z</dc:date>
    </item>
  </channel>
</rss>

