<?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 Convert data from hr:m:s to mm:ss,0 ? in Discussions</title>
    <link>https://community.jmp.com/t5/Discussions/Convert-data-from-hr-m-s-to-mm-ss-0/m-p/229525#M45567</link>
    <description>&lt;P&gt;Hi&lt;BR /&gt;&lt;BR /&gt;I have a data set where I want to analyse performance (the duration) in 1500 m running. The data is imported from another database, txt-files originally (which I didn't do). JMP says/thins it is in hr:m:s format, but it should be in minutes, seconds and hundreds of a second. Is it possible to do? Or just convert it to seconds, maybe this is how the statistics are done?.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I've tried in JMP an via Excel to convert it but no luck or skill. Since Excel already thinks it hr:m:s it gets wrong when converting it to mm:ss,0&amp;nbsp;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="JMP1500.JPG" style="width: 496px;"&gt;&lt;img src="https://community.jmp.com/t5/image/serverpage/image-id/19758iB23E395164F58677/image-size/large?v=v2&amp;amp;px=999" role="button" title="JMP1500.JPG" alt="JMP1500.JPG" /&gt;&lt;/span&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="JMP1500m.JPG" style="width: 721px;"&gt;&lt;img src="https://community.jmp.com/t5/image/serverpage/image-id/19757i5FAA845EFD37E751/image-size/large?v=v2&amp;amp;px=999" role="button" title="JMP1500m.JPG" alt="JMP1500m.JPG" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
    <pubDate>Fri, 18 Oct 2019 11:43:37 GMT</pubDate>
    <dc:creator>Jonkandonkan</dc:creator>
    <dc:date>2019-10-18T11:43:37Z</dc:date>
    <item>
      <title>Convert data from hr:m:s to mm:ss,0 ?</title>
      <link>https://community.jmp.com/t5/Discussions/Convert-data-from-hr-m-s-to-mm-ss-0/m-p/229525#M45567</link>
      <description>&lt;P&gt;Hi&lt;BR /&gt;&lt;BR /&gt;I have a data set where I want to analyse performance (the duration) in 1500 m running. The data is imported from another database, txt-files originally (which I didn't do). JMP says/thins it is in hr:m:s format, but it should be in minutes, seconds and hundreds of a second. Is it possible to do? Or just convert it to seconds, maybe this is how the statistics are done?.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I've tried in JMP an via Excel to convert it but no luck or skill. Since Excel already thinks it hr:m:s it gets wrong when converting it to mm:ss,0&amp;nbsp;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="JMP1500.JPG" style="width: 496px;"&gt;&lt;img src="https://community.jmp.com/t5/image/serverpage/image-id/19758iB23E395164F58677/image-size/large?v=v2&amp;amp;px=999" role="button" title="JMP1500.JPG" alt="JMP1500.JPG" /&gt;&lt;/span&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="JMP1500m.JPG" style="width: 721px;"&gt;&lt;img src="https://community.jmp.com/t5/image/serverpage/image-id/19757i5FAA845EFD37E751/image-size/large?v=v2&amp;amp;px=999" role="button" title="JMP1500m.JPG" alt="JMP1500m.JPG" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 18 Oct 2019 11:43:37 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Convert-data-from-hr-m-s-to-mm-ss-0/m-p/229525#M45567</guid>
      <dc:creator>Jonkandonkan</dc:creator>
      <dc:date>2019-10-18T11:43:37Z</dc:date>
    </item>
    <item>
      <title>Re: Convert data from hr:m:s to mm:ss,0 ?</title>
      <link>https://community.jmp.com/t5/Discussions/Convert-data-from-hr-m-s-to-mm-ss-0/m-p/229526#M45568</link>
      <description>&lt;P&gt;Since when I'm converting from h:m:s to m:s it (accurately) converts the hours to minutes.. I Guess I don't wanna convert it just get JMP know it is in minutes, seconds, and if possible hundreds.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 18 Oct 2019 11:46:21 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Convert-data-from-hr-m-s-to-mm-ss-0/m-p/229526#M45568</guid>
      <dc:creator>Jonkandonkan</dc:creator>
      <dc:date>2019-10-18T11:46:21Z</dc:date>
    </item>
    <item>
      <title>Re: Convert data from hr:m:s to mm:ss,0 ?</title>
      <link>https://community.jmp.com/t5/Discussions/Convert-data-from-hr-m-s-to-mm-ss-0/m-p/230362#M45681</link>
      <description>&lt;P&gt;First create a new column. Using the Formula in the column proporties of the new columnyou could use something like this, if you set your column first to a character column:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;Num( Word( 1, :Name( "1500 meters" ), ":" ) ) * 60 + Num(Word( 2, :Name( "1500 meters" ), ":" )&amp;nbsp;+&amp;nbsp;Num(Word( 3, :Name( "1500 meters" ), ":" )/100)&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;Or if you want to keep a numeric column with the h:m:s format you could create a new column using this formula:&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;Hour( :Name( "1500 meters" ) ) * 60 + Minute( :Name( "1500 meters" ) ) + Second( :Name( "1500 meters" ) ) / 100&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;The issue is that you will loose the fraction of seconds information, unless you set the number of decimal places to e.g. 10 and the input format as numeric and output to h:m:s. This is descripbed also with an example here:&amp;nbsp;&lt;A href="https://community.jmp.com/t5/Discussions/Converting-numeric-seconds-to-0-00-0-time-format/m-p/211192" target="_blank" rel="noopener"&gt;Discussions/Converting-numeric-seconds-to-0-00-0-time-format&lt;/A&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 23 Oct 2019 14:58:59 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Convert-data-from-hr-m-s-to-mm-ss-0/m-p/230362#M45681</guid>
      <dc:creator>martindemel</dc:creator>
      <dc:date>2019-10-23T14:58:59Z</dc:date>
    </item>
    <item>
      <title>Re: Convert data from hr:m:s to mm:ss,0 ?</title>
      <link>https://community.jmp.com/t5/Discussions/Convert-data-from-hr-m-s-to-mm-ss-0/m-p/230512#M45716</link>
      <description>&lt;P&gt;Thanks alot. I just used the second formula for numeric data, the fraction of seconds work too.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 24 Oct 2019 10:53:18 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Convert-data-from-hr-m-s-to-mm-ss-0/m-p/230512#M45716</guid>
      <dc:creator>Jonkandonkan</dc:creator>
      <dc:date>2019-10-24T10:53:18Z</dc:date>
    </item>
  </channel>
</rss>

