<?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: Creating a column of time intervals in Discussions</title>
    <link>https://community.jmp.com/t5/Discussions/Creating-a-column-of-time-intervals/m-p/202110#M41734</link>
    <description>Work great, thanks so much!</description>
    <pubDate>Tue, 07 May 2019 14:56:21 GMT</pubDate>
    <dc:creator>Alicia</dc:creator>
    <dc:date>2019-05-07T14:56:21Z</dc:date>
    <item>
      <title>Creating a column of time intervals</title>
      <link>https://community.jmp.com/t5/Discussions/Creating-a-column-of-time-intervals/m-p/202085#M41732</link>
      <description>&lt;P&gt;I have a column containing date &amp;amp; time data&amp;nbsp;and I would like to&amp;nbsp;create a new column that calculates the time interval&amp;nbsp;between the&amp;nbsp;current row and the previous row?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;For example, if&amp;nbsp;I have&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Row 1: 01/01/2019 15:00:00&lt;/P&gt;&lt;P&gt;Row 2: 01/01/2019 15:00:05&lt;/P&gt;&lt;P&gt;Row 3: 01/01/2019 15:00:12&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;then I want to&amp;nbsp;create a new column that returns the values (in seconds):&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;-&lt;/P&gt;&lt;P&gt;5&lt;/P&gt;&lt;P&gt;7&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Is that possible from the formula builder in JMP?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Many thanks for help in advance!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 07 May 2019 14:45:49 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Creating-a-column-of-time-intervals/m-p/202085#M41732</guid>
      <dc:creator>Alicia</dc:creator>
      <dc:date>2019-05-07T14:45:49Z</dc:date>
    </item>
    <item>
      <title>Re: Creating a column of time intervals</title>
      <link>https://community.jmp.com/t5/Discussions/Creating-a-column-of-time-intervals/m-p/202100#M41733</link>
      <description>&lt;P&gt;Assuming your column of Date Time values is a valid JMP Date Time column, and that for illustration purposes, the column has the name, "DateTime", the formula would be&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;:DateTime - Lag(:DateTime)&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Tue, 07 May 2019 14:50:47 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Creating-a-column-of-time-intervals/m-p/202100#M41733</guid>
      <dc:creator>txnelson</dc:creator>
      <dc:date>2019-05-07T14:50:47Z</dc:date>
    </item>
    <item>
      <title>Re: Creating a column of time intervals</title>
      <link>https://community.jmp.com/t5/Discussions/Creating-a-column-of-time-intervals/m-p/202110#M41734</link>
      <description>Work great, thanks so much!</description>
      <pubDate>Tue, 07 May 2019 14:56:21 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Creating-a-column-of-time-intervals/m-p/202110#M41734</guid>
      <dc:creator>Alicia</dc:creator>
      <dc:date>2019-05-07T14:56:21Z</dc:date>
    </item>
  </channel>
</rss>

