<?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: Changing data type from character to continuous with JSL in Discussions</title>
    <link>https://community.jmp.com/t5/Discussions/Changing-data-type-from-character-to-continuous-with-JSL/m-p/237216#M46837</link>
    <description>&lt;P&gt;From the screenshot you are displaying, it appears that whatever methodology you are using to generate the TS_UTC column, that it is being generated as a character column.&amp;nbsp; The following JSL will convert from your character column to a numeric, continuous column, with your desired display format.&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;names default to here(1);
dt=current data table();
dt:TS_UTC&amp;lt;&amp;lt;data type(numeric)&amp;lt;&amp;lt;modeling type(continuous)&amp;lt;&amp;lt;format("yyyy-mm-ddThh:mm:ss");&lt;/CODE&gt;&lt;/PRE&gt;</description>
    <pubDate>Wed, 04 Dec 2019 11:29:11 GMT</pubDate>
    <dc:creator>txnelson</dc:creator>
    <dc:date>2019-12-04T11:29:11Z</dc:date>
    <item>
      <title>Changing data type from character to continuous with JSL</title>
      <link>https://community.jmp.com/t5/Discussions/Changing-data-type-from-character-to-continuous-with-JSL/m-p/237194#M46834</link>
      <description>&lt;P&gt;I have a script that gets back the time as character. The format is correct but I want&amp;nbsp; to automate this change of data type automatically.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="tsformat.jpg" style="width: 781px;"&gt;&lt;img src="https://community.jmp.com/t5/image/serverpage/image-id/20516i2EDEBE0BD6000710/image-size/large?v=v2&amp;amp;px=999" role="button" title="tsformat.jpg" alt="tsformat.jpg" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;How to do so in JSL scripting?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 04 Dec 2019 10:38:57 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Changing-data-type-from-character-to-continuous-with-JSL/m-p/237194#M46834</guid>
      <dc:creator>FN</dc:creator>
      <dc:date>2019-12-04T10:38:57Z</dc:date>
    </item>
    <item>
      <title>Re: Changing data type from character to continuous with JSL</title>
      <link>https://community.jmp.com/t5/Discussions/Changing-data-type-from-character-to-continuous-with-JSL/m-p/237216#M46837</link>
      <description>&lt;P&gt;From the screenshot you are displaying, it appears that whatever methodology you are using to generate the TS_UTC column, that it is being generated as a character column.&amp;nbsp; The following JSL will convert from your character column to a numeric, continuous column, with your desired display format.&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;names default to here(1);
dt=current data table();
dt:TS_UTC&amp;lt;&amp;lt;data type(numeric)&amp;lt;&amp;lt;modeling type(continuous)&amp;lt;&amp;lt;format("yyyy-mm-ddThh:mm:ss");&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Wed, 04 Dec 2019 11:29:11 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Changing-data-type-from-character-to-continuous-with-JSL/m-p/237216#M46837</guid>
      <dc:creator>txnelson</dc:creator>
      <dc:date>2019-12-04T11:29:11Z</dc:date>
    </item>
  </channel>
</rss>

