<?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: Timestamp conversion? it just nulls out if I try to format as a timestamp in Discussions</title>
    <link>https://community.jmp.com/t5/Discussions/Timestamp-conversion-it-just-nulls-out-if-I-try-to-format-as-a/m-p/738062#M91935</link>
    <description>&lt;P&gt;Create formula column with formula&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;Informat(Word(1, :Column 1, "+"))&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;where :Column 1 is your string formatted "date". This formula will pick anything before "+" and JMP is most likely able to convert that to a numeric format (if JMP isn't able to do that, you might have to add Format pattern to Informat())&lt;/P&gt;</description>
    <pubDate>Fri, 22 Mar 2024 20:09:28 GMT</pubDate>
    <dc:creator>jthi</dc:creator>
    <dc:date>2024-03-22T20:09:28Z</dc:date>
    <item>
      <title>Timestamp conversion? it just nulls out if I try to format as a timestamp</title>
      <link>https://community.jmp.com/t5/Discussions/Timestamp-conversion-it-just-nulls-out-if-I-try-to-format-as-a/m-p/738026#M91932</link>
      <description>&lt;P&gt;2024-01-06 13:59:00+00:00&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am getting timestamps in this format. JMP auto-formats them as Charact-Nominal....How do I get these to be a proper timestamp format?&lt;/P&gt;</description>
      <pubDate>Fri, 22 Mar 2024 19:19:06 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Timestamp-conversion-it-just-nulls-out-if-I-try-to-format-as-a/m-p/738026#M91932</guid>
      <dc:creator>TriangularLlama</dc:creator>
      <dc:date>2024-03-22T19:19:06Z</dc:date>
    </item>
    <item>
      <title>Re: Timestamp conversion? it just nulls out if I try to format as a timestamp</title>
      <link>https://community.jmp.com/t5/Discussions/Timestamp-conversion-it-just-nulls-out-if-I-try-to-format-as-a/m-p/738062#M91935</link>
      <description>&lt;P&gt;Create formula column with formula&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;Informat(Word(1, :Column 1, "+"))&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;where :Column 1 is your string formatted "date". This formula will pick anything before "+" and JMP is most likely able to convert that to a numeric format (if JMP isn't able to do that, you might have to add Format pattern to Informat())&lt;/P&gt;</description>
      <pubDate>Fri, 22 Mar 2024 20:09:28 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Timestamp-conversion-it-just-nulls-out-if-I-try-to-format-as-a/m-p/738062#M91935</guid>
      <dc:creator>jthi</dc:creator>
      <dc:date>2024-03-22T20:09:28Z</dc:date>
    </item>
    <item>
      <title>Re: Timestamp conversion? it just nulls out if I try to format as a timestamp</title>
      <link>https://community.jmp.com/t5/Discussions/Timestamp-conversion-it-just-nulls-out-if-I-try-to-format-as-a/m-p/738136#M91943</link>
      <description>&lt;P&gt;unfortunately, there is no placeholder available yet for timezone offsets like +00:00&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;but one could hard-code the "+00:00" via&lt;/P&gt;&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;Informat( :Column 1, "Format Pattern", "&amp;lt;YYYY&amp;gt;&amp;lt;/&amp;gt;&amp;lt;MM&amp;gt;&amp;lt;/&amp;gt;&amp;lt;DD&amp;gt; &amp;lt;hh&amp;gt;:&amp;lt;mm&amp;gt;:&amp;lt;ss&amp;gt;+00:00" )&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;actually no benefit compared to Jarmos version - just a much longer code.&lt;BR /&gt;maybe: you can force Jmp to place DD and MM at the right position :)&lt;/img&gt;&lt;BR /&gt;&lt;BR /&gt;If you want to parse input with varying timezone offset, you have to split off the timezone info and add it later:&lt;/P&gt;&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;Informat( Word( 1, :input, "+" ) ) + Num( Word( 1, Word( 2, :input, "+" ), ":" ) )
 * 60 * 60&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;If there are negative offsets as well, it gets harder and harder to parse.&lt;/P&gt;&lt;P&gt;Then you should consider this request from the wish list:&lt;LI-MESSAGE title="Date Format Pattern - additional functionality" uid="736645" url="https://community.jmp.com/t5/JMP-Wish-List/Date-Format-Pattern-additional-functionality/m-p/736645#U736645" discussion_style_icon_css="lia-mention-container-editor-message lia-img-icon-idea-thread lia-fa-icon lia-fa-idea lia-fa-thread lia-fa"&gt;&lt;/LI-MESSAGE&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;and maybe support it with a Kudo&amp;nbsp; ...&lt;/P&gt;</description>
      <pubDate>Fri, 22 Mar 2024 23:34:30 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Timestamp-conversion-it-just-nulls-out-if-I-try-to-format-as-a/m-p/738136#M91943</guid>
      <dc:creator>hogi</dc:creator>
      <dc:date>2024-03-22T23:34:30Z</dc:date>
    </item>
  </channel>
</rss>

