<?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: Display Numeric-Date column as &amp;quot;d/m/y h:m:s&amp;quot;? in Discussions</title>
    <link>https://community.jmp.com/t5/Discussions/Display-Numeric-Date-column-as-quot-d-m-y-h-m-s-quot/m-p/343201#M59240</link>
    <description>&lt;P&gt;The issue you are having, is that you are attempting to specify the format incorrectly.&amp;nbsp; The Format() function always returns a character string.&amp;nbsp; Take a look in the Scripting Index for examples on how to use the Format() function.&lt;/P&gt;
&lt;P&gt;The JSL below will convert a Character column with the data formatted as&lt;/P&gt;
&lt;P&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;08/21/2020 11:17:31&lt;/P&gt;
&lt;P&gt;and convert it into a JMP Date/Time column&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;:Time &amp;lt;&amp;lt; Data Type( Numeric );
:Time &amp;lt;&amp;lt; Set Modeling Type( Continuous );
:Time &amp;lt;&amp;lt; Input Format( "m/d/y h:m:s" );
:Time &amp;lt;&amp;lt; Format( "m/d/y h:m:s", 23 );&lt;/CODE&gt;&lt;/PRE&gt;</description>
    <pubDate>Sat, 19 Dec 2020 05:20:33 GMT</pubDate>
    <dc:creator>txnelson</dc:creator>
    <dc:date>2020-12-19T05:20:33Z</dc:date>
    <item>
      <title>Display Numeric-Date column as "d/m/y h:m:s"?</title>
      <link>https://community.jmp.com/t5/Discussions/Display-Numeric-Date-column-as-quot-d-m-y-h-m-s-quot/m-p/343182#M59239</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have a date-time column that I want to display as "&lt;STRONG&gt;d/m/y h:m:s&lt;/STRONG&gt;", yet retain its Numeric-Date data type (as in the right table of the figure):&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="time-character_vs_numeric.JPG" style="width: 973px;"&gt;&lt;img src="https://community.jmp.com/t5/image/serverpage/image-id/29040i73B8496DD4527814/image-size/large?v=v2&amp;amp;px=999" role="button" title="time-character_vs_numeric.JPG" alt="time-character_vs_numeric.JPG" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have the following:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;:"Time" &amp;lt;&amp;lt; Data Type(Numeric);
:"Time" &amp;lt;&amp;lt; Set Modeling Type(Continuous);
:"Time" &amp;lt;&amp;lt; Set Format(Format("m/d/y h:m:s", 23));&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;But it instead converts the column onto Unix time format. How do I get this done through JSL?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Louie&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 09 Jun 2023 22:01:03 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Display-Numeric-Date-column-as-quot-d-m-y-h-m-s-quot/m-p/343182#M59239</guid>
      <dc:creator>louiefb</dc:creator>
      <dc:date>2023-06-09T22:01:03Z</dc:date>
    </item>
    <item>
      <title>Re: Display Numeric-Date column as "d/m/y h:m:s"?</title>
      <link>https://community.jmp.com/t5/Discussions/Display-Numeric-Date-column-as-quot-d-m-y-h-m-s-quot/m-p/343201#M59240</link>
      <description>&lt;P&gt;The issue you are having, is that you are attempting to specify the format incorrectly.&amp;nbsp; The Format() function always returns a character string.&amp;nbsp; Take a look in the Scripting Index for examples on how to use the Format() function.&lt;/P&gt;
&lt;P&gt;The JSL below will convert a Character column with the data formatted as&lt;/P&gt;
&lt;P&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;08/21/2020 11:17:31&lt;/P&gt;
&lt;P&gt;and convert it into a JMP Date/Time column&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;:Time &amp;lt;&amp;lt; Data Type( Numeric );
:Time &amp;lt;&amp;lt; Set Modeling Type( Continuous );
:Time &amp;lt;&amp;lt; Input Format( "m/d/y h:m:s" );
:Time &amp;lt;&amp;lt; Format( "m/d/y h:m:s", 23 );&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Sat, 19 Dec 2020 05:20:33 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Display-Numeric-Date-column-as-quot-d-m-y-h-m-s-quot/m-p/343201#M59240</guid>
      <dc:creator>txnelson</dc:creator>
      <dc:date>2020-12-19T05:20:33Z</dc:date>
    </item>
  </channel>
</rss>

