<?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 Re: How to convert 24 Hour into 12 Hour with AM/PM? in Discussions</title>
    <link>https://community.jmp.com/t5/Discussions/How-to-convert-24-Hour-into-12-Hour-with-AM-PM/m-p/684001#M86971</link>
    <description>&lt;P&gt;Thankyou all, got it right now.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Best Regards,&lt;/P&gt;&lt;P&gt;mystylelife19&lt;/P&gt;</description>
    <pubDate>Thu, 05 Oct 2023 04:50:05 GMT</pubDate>
    <dc:creator>mystylelife19</dc:creator>
    <dc:date>2023-10-05T04:50:05Z</dc:date>
    <item>
      <title>How to convert 24 Hour into 12 Hour with AM/PM?</title>
      <link>https://community.jmp.com/t5/Discussions/How-to-convert-24-Hour-into-12-Hour-with-AM-PM/m-p/683684#M86926</link>
      <description>&lt;P&gt;Hi Community,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have data table with column TimeStamp&amp;nbsp;&lt;STRONG&gt;2023_10_04 02:22:24&lt;/STRONG&gt;. Right now i already split the date &amp;amp; time into separate column using this script below:&lt;/P&gt;&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;Names Default To Here( 1 );
dt = Current Data Table();
dt &amp;lt;&amp;lt; Text To Columns( delimiter( " " ), columns( :TimeStamp ) ); // in delimiter is SPACE

// Close the original timestamp column
dt &amp;lt;&amp;lt; Delete Columns( "TimeStamp" );
dt &amp;lt;&amp;lt; Delete Columns( "TimeStamp 1" );&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;But the format column still in 24 hour&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="mystylelife19_0-1696414048500.png" style="width: 400px;"&gt;&lt;img src="https://community.jmp.com/t5/image/serverpage/image-id/57202i078AE4D38B92C31C/image-size/medium?v=v2&amp;amp;px=400" role="button" title="mystylelife19_0-1696414048500.png" alt="mystylelife19_0-1696414048500.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;I want format 12 hour like this&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="mystylelife19_1-1696414134828.png" style="width: 400px;"&gt;&lt;img src="https://community.jmp.com/t5/image/serverpage/image-id/57203i09A6747B45827AAF/image-size/medium?v=v2&amp;amp;px=400" role="button" title="mystylelife19_1-1696414134828.png" alt="mystylelife19_1-1696414134828.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;The problem is i have to use text to columns in excel if i want format 12 hour.&lt;/P&gt;&lt;P&gt;Can you please write me a script that can change all the row in columns into 12 hour format?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 04 Oct 2023 10:11:57 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/How-to-convert-24-Hour-into-12-Hour-with-AM-PM/m-p/683684#M86926</guid>
      <dc:creator>mystylelife19</dc:creator>
      <dc:date>2023-10-04T10:11:57Z</dc:date>
    </item>
    <item>
      <title>Re: How to convert 24 Hour into 12 Hour with AM/PM?</title>
      <link>https://community.jmp.com/t5/Discussions/How-to-convert-24-Hour-into-12-Hour-with-AM-PM/m-p/683701#M86927</link>
      <description>&lt;P&gt;You could try using Format Pattern to create correct format for you. You can find it from column properties&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="jthi_1-1696415334543.png" style="width: 400px;"&gt;&lt;img src="https://community.jmp.com/t5/image/serverpage/image-id/57205i231A1346F4D81722/image-size/medium?v=v2&amp;amp;px=400" role="button" title="jthi_1-1696415334543.png" alt="jthi_1-1696415334543.png" /&gt;&lt;/span&gt;&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="jthi_0-1696415295501.png" style="width: 400px;"&gt;&lt;img src="https://community.jmp.com/t5/image/serverpage/image-id/57204i412A58B318ABF58D/image-size/medium?v=v2&amp;amp;px=400" role="button" title="jthi_0-1696415295501.png" alt="jthi_0-1696415295501.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 04 Oct 2023 10:29:04 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/How-to-convert-24-Hour-into-12-Hour-with-AM-PM/m-p/683701#M86927</guid>
      <dc:creator>jthi</dc:creator>
      <dc:date>2023-10-04T10:29:04Z</dc:date>
    </item>
    <item>
      <title>Re: How to convert 24 Hour into 12 Hour with AM/PM?</title>
      <link>https://community.jmp.com/t5/Discussions/How-to-convert-24-Hour-into-12-Hour-with-AM-PM/m-p/683708#M86928</link>
      <description>&lt;P&gt;Hi jthi,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I try to change into format 12 in column properties&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="mystylelife19_0-1696415873613.png" style="width: 400px;"&gt;&lt;img src="https://community.jmp.com/t5/image/serverpage/image-id/57206i90E9284E9EF608C3/image-size/medium?v=v2&amp;amp;px=400" role="button" title="mystylelife19_0-1696415873613.png" alt="mystylelife19_0-1696415873613.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Turns out my time change into dot&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="mystylelife19_1-1696415916242.png" style="width: 400px;"&gt;&lt;img src="https://community.jmp.com/t5/image/serverpage/image-id/57207i3FB8A18B37E0F0BE/image-size/medium?v=v2&amp;amp;px=400" role="button" title="mystylelife19_1-1696415916242.png" alt="mystylelife19_1-1696415916242.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Please help,&lt;/P&gt;</description>
      <pubDate>Wed, 04 Oct 2023 10:39:28 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/How-to-convert-24-Hour-into-12-Hour-with-AM-PM/m-p/683708#M86928</guid>
      <dc:creator>mystylelife19</dc:creator>
      <dc:date>2023-10-04T10:39:28Z</dc:date>
    </item>
    <item>
      <title>Re: How to convert 24 Hour into 12 Hour with AM/PM?</title>
      <link>https://community.jmp.com/t5/Discussions/How-to-convert-24-Hour-into-12-Hour-with-AM-PM/m-p/683710#M86929</link>
      <description>&lt;P&gt;Try out the different options that Format Pattern provides you with (it has explanation what each different option does).&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="jthi_0-1696416098946.png" style="width: 400px;"&gt;&lt;img src="https://community.jmp.com/t5/image/serverpage/image-id/57208iD487C99D2BBD1298/image-size/medium?v=v2&amp;amp;px=400" role="button" title="jthi_0-1696416098946.png" alt="jthi_0-1696416098946.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 04 Oct 2023 10:41:52 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/How-to-convert-24-Hour-into-12-Hour-with-AM-PM/m-p/683710#M86929</guid>
      <dc:creator>jthi</dc:creator>
      <dc:date>2023-10-04T10:41:52Z</dc:date>
    </item>
    <item>
      <title>Re: How to convert 24 Hour into 12 Hour with AM/PM?</title>
      <link>https://community.jmp.com/t5/Discussions/How-to-convert-24-Hour-into-12-Hour-with-AM-PM/m-p/683711#M86930</link>
      <description>&lt;P&gt;&lt;div class="lia-vid-container video-embed-center"&gt;&lt;div id="lia-vid-6338370075112w960h540r921" class="lia-video-brightcove-player-container"&gt;&lt;video-js data-video-id="6338370075112" data-account="6058004218001" data-player="default" data-embed="default" class="vjs-fluid" controls="" data-application-id="" style="width: 100%; height: 100%;"&gt;&lt;/video-js&gt;&lt;/div&gt;&lt;script src="https://players.brightcove.net/6058004218001/default_default/index.min.js"&gt;&lt;/script&gt;&lt;script&gt;(function() {  var wrapper = document.getElementById('lia-vid-6338370075112w960h540r921');  var videoEl = wrapper ? wrapper.querySelector('video-js') : null;  if (videoEl) {     if (window.videojs) {       window.videojs(videoEl).ready(function() {         this.on('loadedmetadata', function() {           this.el().querySelectorAll('.vjs-load-progress div[data-start]').forEach(function(bar) {             bar.setAttribute('role', 'presentation');             bar.setAttribute('aria-hidden', 'true');           });         });       });     }  }})();&lt;/script&gt;&lt;a class="video-embed-link" href="https://community.jmp.com/t5/video/gallerypage/video-id/6338370075112"&gt;(view in My Videos)&lt;/a&gt;&lt;/div&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 04 Oct 2023 10:46:43 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/How-to-convert-24-Hour-into-12-Hour-with-AM-PM/m-p/683711#M86930</guid>
      <dc:creator>Craige_Hales</dc:creator>
      <dc:date>2023-10-04T10:46:43Z</dc:date>
    </item>
    <item>
      <title>Re: How to convert 24 Hour into 12 Hour with AM/PM?</title>
      <link>https://community.jmp.com/t5/Discussions/How-to-convert-24-Hour-into-12-Hour-with-AM-PM/m-p/683713#M86931</link>
      <description>&lt;P&gt;JMP's date-time values are numbers of seconds. The format determines how the number is displayed, but does not change the underlying numeric data stored in the data table.&lt;/P&gt;</description>
      <pubDate>Wed, 04 Oct 2023 10:58:09 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/How-to-convert-24-Hour-into-12-Hour-with-AM-PM/m-p/683713#M86931</guid>
      <dc:creator>Craige_Hales</dc:creator>
      <dc:date>2023-10-04T10:58:09Z</dc:date>
    </item>
    <item>
      <title>Re: How to convert 24 Hour into 12 Hour with AM/PM?</title>
      <link>https://community.jmp.com/t5/Discussions/How-to-convert-24-Hour-into-12-Hour-with-AM-PM/m-p/683735#M86933</link>
      <description>&lt;P&gt;The timestamp2 column contained character data before conversion. You'll need to convert it to numeric date-time data first by choosing both &lt;EM&gt;numeric&lt;/EM&gt; and the proper &lt;EM&gt;format&lt;/EM&gt; at the &lt;EM&gt;same&lt;/EM&gt; time from the dialog. After that, you can change the format to have am/pm.&lt;/P&gt;</description>
      <pubDate>Wed, 04 Oct 2023 11:03:48 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/How-to-convert-24-Hour-into-12-Hour-with-AM-PM/m-p/683735#M86933</guid>
      <dc:creator>Craige_Hales</dc:creator>
      <dc:date>2023-10-04T11:03:48Z</dc:date>
    </item>
    <item>
      <title>Re: How to convert 24 Hour into 12 Hour with AM/PM?</title>
      <link>https://community.jmp.com/t5/Discussions/How-to-convert-24-Hour-into-12-Hour-with-AM-PM/m-p/683737#M86934</link>
      <description>&lt;P&gt;That will happen if your current column is character and you try to directly change to numeric with your output format pattern.&amp;nbsp; First, change the data type to numeric and apply the change.&amp;nbsp; All the values should become large whole numbers.&amp;nbsp; Then, set the format pattern as you did before.&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="mmarchandTSI_0-1696417841156.png" style="width: 400px;"&gt;&lt;img src="https://community.jmp.com/t5/image/serverpage/image-id/57210i1933FA52EFC25036/image-size/medium?v=v2&amp;amp;px=400" role="button" title="mmarchandTSI_0-1696417841156.png" alt="mmarchandTSI_0-1696417841156.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 04 Oct 2023 11:10:57 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/How-to-convert-24-Hour-into-12-Hour-with-AM-PM/m-p/683737#M86934</guid>
      <dc:creator>mmarchandTSI</dc:creator>
      <dc:date>2023-10-04T11:10:57Z</dc:date>
    </item>
    <item>
      <title>Re: How to convert 24 Hour into 12 Hour with AM/PM?</title>
      <link>https://community.jmp.com/t5/Discussions/How-to-convert-24-Hour-into-12-Hour-with-AM-PM/m-p/683738#M86935</link>
      <description>&lt;P&gt;You might want to back up and not split the character data at all, just convert the original character time stamps into JMP date-time values.&lt;/P&gt;
&lt;P&gt;&lt;div class="lia-vid-container video-embed-center"&gt;&lt;div id="lia-vid-6338370897112w960h540r201" class="lia-video-brightcove-player-container"&gt;&lt;video-js data-video-id="6338370897112" data-account="6058004218001" data-player="default" data-embed="default" class="vjs-fluid" controls="" data-application-id="" style="width: 100%; height: 100%;"&gt;&lt;/video-js&gt;&lt;/div&gt;&lt;script src="https://players.brightcove.net/6058004218001/default_default/index.min.js"&gt;&lt;/script&gt;&lt;script&gt;(function() {  var wrapper = document.getElementById('lia-vid-6338370897112w960h540r201');  var videoEl = wrapper ? wrapper.querySelector('video-js') : null;  if (videoEl) {     if (window.videojs) {       window.videojs(videoEl).ready(function() {         this.on('loadedmetadata', function() {           this.el().querySelectorAll('.vjs-load-progress div[data-start]').forEach(function(bar) {             bar.setAttribute('role', 'presentation');             bar.setAttribute('aria-hidden', 'true');           });         });       });     }  }})();&lt;/script&gt;&lt;a class="video-embed-link" href="https://community.jmp.com/t5/video/gallerypage/video-id/6338370897112"&gt;(view in My Videos)&lt;/a&gt;&lt;/div&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 04 Oct 2023 11:24:02 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/How-to-convert-24-Hour-into-12-Hour-with-AM-PM/m-p/683738#M86935</guid>
      <dc:creator>Craige_Hales</dc:creator>
      <dc:date>2023-10-04T11:24:02Z</dc:date>
    </item>
    <item>
      <title>Re: How to convert 24 Hour into 12 Hour with AM/PM?</title>
      <link>https://community.jmp.com/t5/Discussions/How-to-convert-24-Hour-into-12-Hour-with-AM-PM/m-p/684001#M86971</link>
      <description>&lt;P&gt;Thankyou all, got it right now.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Best Regards,&lt;/P&gt;&lt;P&gt;mystylelife19&lt;/P&gt;</description>
      <pubDate>Thu, 05 Oct 2023 04:50:05 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/How-to-convert-24-Hour-into-12-Hour-with-AM-PM/m-p/684001#M86971</guid>
      <dc:creator>mystylelife19</dc:creator>
      <dc:date>2023-10-05T04:50:05Z</dc:date>
    </item>
  </channel>
</rss>

