<?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: Splitting columns in Discussions</title>
    <link>https://community.jmp.com/t5/Discussions/Splitting-columns/m-p/246354#M48385</link>
    <description>&lt;P&gt;You can use the Left, Substring, and or Right functions (found in the Character group in the formula window) to create 2 new columns, one with the date and the other with the hour (I am assuming the last two digits are the hour and the T just stands for time).&amp;nbsp; Then, make sure the date column yyyy-mo-day is formatted as a date.&amp;nbsp; So, to get the date you could use Left(current column, 10) and for the hour you could use Right(current column, 2).&lt;/P&gt;</description>
    <pubDate>Fri, 07 Feb 2020 12:05:50 GMT</pubDate>
    <dc:creator>dale_lehman</dc:creator>
    <dc:date>2020-02-07T12:05:50Z</dc:date>
    <item>
      <title>Splitting columns</title>
      <link>https://community.jmp.com/t5/Discussions/Splitting-columns/m-p/246353#M48384</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;i have a column full of dates with different time points in the date. Eg:&lt;/P&gt;&lt;P&gt;2020-01-31T11&lt;BR /&gt;2020-01-31T12&lt;BR /&gt;2020-01-31T13&lt;BR /&gt;2020-01-31T14&lt;BR /&gt;2020-01-31T15&lt;BR /&gt;2020-01-31T16&lt;BR /&gt;2020-01-31T17&lt;BR /&gt;2020-01-31T18&lt;BR /&gt;2020-01-31T19&lt;BR /&gt;2020-01-31T20&lt;BR /&gt;2020-01-31T21&lt;BR /&gt;2020-01-31T22&lt;BR /&gt;2020-01-31T23&lt;BR /&gt;2020-02-01T00&lt;BR /&gt;2020-02-01T01&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;but I want to split them into two separate columns: date and time. I'm a beginner so I'm still getting use to the software.&lt;/P&gt;&lt;P&gt;thanks!&lt;/P&gt;</description>
      <pubDate>Fri, 07 Feb 2020 11:51:52 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Splitting-columns/m-p/246353#M48384</guid>
      <dc:creator>SMast</dc:creator>
      <dc:date>2020-02-07T11:51:52Z</dc:date>
    </item>
    <item>
      <title>Re: Splitting columns</title>
      <link>https://community.jmp.com/t5/Discussions/Splitting-columns/m-p/246354#M48385</link>
      <description>&lt;P&gt;You can use the Left, Substring, and or Right functions (found in the Character group in the formula window) to create 2 new columns, one with the date and the other with the hour (I am assuming the last two digits are the hour and the T just stands for time).&amp;nbsp; Then, make sure the date column yyyy-mo-day is formatted as a date.&amp;nbsp; So, to get the date you could use Left(current column, 10) and for the hour you could use Right(current column, 2).&lt;/P&gt;</description>
      <pubDate>Fri, 07 Feb 2020 12:05:50 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Splitting-columns/m-p/246354#M48385</guid>
      <dc:creator>dale_lehman</dc:creator>
      <dc:date>2020-02-07T12:05:50Z</dc:date>
    </item>
    <item>
      <title>Re: Splitting columns</title>
      <link>https://community.jmp.com/t5/Discussions/Splitting-columns/m-p/246485#M48405</link>
      <description>&lt;P&gt;I have attached you sample data table and have added 2 columns.&amp;nbsp; The formula I used for the first column is:&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;Informat( Substr( :Column 1, 1, 10 ), "Y/m/d" )&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;It was a pretty straight forward conversion, because the substringed data matched an existing Informat().&lt;/P&gt;
&lt;P&gt;The second column formula is:&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;Informat( Substr( :Column 1, 12, 2 ) || ":0", "hr:m" )&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;The format required needs to have minutes along with the hour, so I just had to add it to the string returned from the Substr() function&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I hope this helps you with your journey into using JMP&lt;/P&gt;</description>
      <pubDate>Fri, 07 Feb 2020 17:57:17 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Splitting-columns/m-p/246485#M48405</guid>
      <dc:creator>txnelson</dc:creator>
      <dc:date>2020-02-07T17:57:17Z</dc:date>
    </item>
  </channel>
</rss>

