<?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 Time durations with milliseconds - custom Format pattern in Discussions</title>
    <link>https://community.jmp.com/t5/Discussions/Time-durations-with-milliseconds-custom-Format-pattern/m-p/689143#M87501</link>
    <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Any suggestion how to use custom Format pattern for time or duration format in the following scenario? As example, I have following data imported (as character):&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;TABLE&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD&gt;42.336&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;51.858&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;01:17.9&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;This data should be understood as time durations in format mm:ss.000. I would like to have advices how to get data above to be shown as in (numeric) format ss.000 like below&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;TABLE border="0" cellspacing="0" cellpadding="0"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD&gt;42.336&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;51.858&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;77.900&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;or alternatevily in numeric time format&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;TABLE border="0" cellspacing="0" cellpadding="0"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD&gt;0:42.336&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;0:51.858&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;1:17.900&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I hope that this can be done without any scripting. Any advices are highly appreciated! I am running JMP 16.2&lt;/P&gt;</description>
    <pubDate>Sat, 21 Oct 2023 10:40:41 GMT</pubDate>
    <dc:creator>JanneI</dc:creator>
    <dc:date>2023-10-21T10:40:41Z</dc:date>
    <item>
      <title>Time durations with milliseconds - custom Format pattern</title>
      <link>https://community.jmp.com/t5/Discussions/Time-durations-with-milliseconds-custom-Format-pattern/m-p/689143#M87501</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Any suggestion how to use custom Format pattern for time or duration format in the following scenario? As example, I have following data imported (as character):&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;TABLE&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD&gt;42.336&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;51.858&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;01:17.9&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;This data should be understood as time durations in format mm:ss.000. I would like to have advices how to get data above to be shown as in (numeric) format ss.000 like below&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;TABLE border="0" cellspacing="0" cellpadding="0"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD&gt;42.336&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;51.858&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;77.900&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;or alternatevily in numeric time format&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;TABLE border="0" cellspacing="0" cellpadding="0"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD&gt;0:42.336&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;0:51.858&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;1:17.900&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I hope that this can be done without any scripting. Any advices are highly appreciated! I am running JMP 16.2&lt;/P&gt;</description>
      <pubDate>Sat, 21 Oct 2023 10:40:41 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Time-durations-with-milliseconds-custom-Format-pattern/m-p/689143#M87501</guid>
      <dc:creator>JanneI</dc:creator>
      <dc:date>2023-10-21T10:40:41Z</dc:date>
    </item>
    <item>
      <title>Re: Time durations with milliseconds - custom Format pattern</title>
      <link>https://community.jmp.com/t5/Discussions/Time-durations-with-milliseconds-custom-Format-pattern/m-p/689157#M87502</link>
      <description>&lt;P&gt;I was not able to come up with a Format Pattern that worked, however, the following simple script works&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;For Each Row(
	If( Contains( :column 1, ":" ),
		:column 1 = Char(
			Num( Word( 1, :column 1, ":" ) ) * 60 + Num( Word( 2, :column 1, ":" ) )
		)
	)
);
:column 1 &amp;lt;&amp;lt; data type( numeric ) &amp;lt;&amp;lt; modeling type( continuous );&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="txnelson_0-1697892266545.png" style="width: 400px;"&gt;&lt;img src="https://community.jmp.com/t5/image/serverpage/image-id/57873i1A4DF9D361B840C1/image-size/medium?v=v2&amp;amp;px=400" role="button" title="txnelson_0-1697892266545.png" alt="txnelson_0-1697892266545.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sat, 21 Oct 2023 12:44:32 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Time-durations-with-milliseconds-custom-Format-pattern/m-p/689157#M87502</guid>
      <dc:creator>txnelson</dc:creator>
      <dc:date>2023-10-21T12:44:32Z</dc:date>
    </item>
    <item>
      <title>Re: Time durations with milliseconds - custom Format pattern</title>
      <link>https://community.jmp.com/t5/Discussions/Time-durations-with-milliseconds-custom-Format-pattern/m-p/689165#M87504</link>
      <description>&lt;P&gt;If you had "properly" formatted data JMP could handle this (those rows which have no minutes should have 0: at the start). Column 3 is a copy of Column 2 with format pattern applied with three decimals&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="jthi_0-1697895480520.png" style="width: 999px;"&gt;&lt;img src="https://community.jmp.com/t5/image/serverpage/image-id/57875i354963D5273D46FF/image-size/large?v=v2&amp;amp;px=999" role="button" title="jthi_0-1697895480520.png" alt="jthi_0-1697895480520.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;I think you have to create formula to convert your strings to either directly to seconds or to some format which JMP could understand&lt;/P&gt;</description>
      <pubDate>Sat, 21 Oct 2023 13:41:04 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Time-durations-with-milliseconds-custom-Format-pattern/m-p/689165#M87504</guid>
      <dc:creator>jthi</dc:creator>
      <dc:date>2023-10-21T13:41:04Z</dc:date>
    </item>
  </channel>
</rss>

