<?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: How to join two tables on datatime columns that match within 1 minute in Discussions</title>
    <link>https://community.jmp.com/t5/Discussions/How-to-join-two-tables-on-datatime-columns-that-match-within-1/m-p/554363#M76905</link>
    <description>&lt;P&gt;Thanks for the suggests! I ended up creating two new columns.&amp;nbsp;The first column rounds down to the nearest minute and the second rounds up. I then do the join in two steps. Works well enough for my purposes. Thanks!&lt;/P&gt;</description>
    <pubDate>Mon, 10 Oct 2022 13:13:10 GMT</pubDate>
    <dc:creator>jbakri</dc:creator>
    <dc:date>2022-10-10T13:13:10Z</dc:date>
    <item>
      <title>How to join two tables on datatime columns that match within 1 minute</title>
      <link>https://community.jmp.com/t5/Discussions/How-to-join-two-tables-on-datatime-columns-that-match-within-1/m-p/552536#M76787</link>
      <description>&lt;P&gt;Hello All,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have two data tables that I am trying to join. They both contain a datetime column that I would like to use to match up the rows. The problem is the datetimes can be off by at most 1 minute due to some inconsistencies in how table B is rounding its values. For example, on table A the datetime might be 2022-10-03 22:13:47 and on table B it will round down to 2022-10-03 22:13:00, but for another row table A will be 2022-10-03 15:09:33 and Table B will round up to 2022-10-03 15:10:00. I have not been able to identify any pattern as to which way Table B will round its values and I cannot change the way it is storing the data.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The values are always within ±1 minute, but it is inconsistent whether I need to round up or down. Is there a way to join the tables and match the two columns anywhere the times are within 1 min of each other?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;</description>
      <pubDate>Sat, 10 Jun 2023 23:54:56 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/How-to-join-two-tables-on-datatime-columns-that-match-within-1/m-p/552536#M76787</guid>
      <dc:creator>jbakri</dc:creator>
      <dc:date>2023-06-10T23:54:56Z</dc:date>
    </item>
    <item>
      <title>Re: How to join two tables on datatime columns that match within 1 minute</title>
      <link>https://community.jmp.com/t5/Discussions/How-to-join-two-tables-on-datatime-columns-that-match-within-1/m-p/552539#M76788</link>
      <description>&lt;P&gt;This discussion might have some ideas &lt;LI-MESSAGE title="How do I join tables based on one fully matching column and one closest matching?" uid="450846" url="https://community.jmp.com/t5/Discussions/How-do-I-join-tables-based-on-one-fully-matching-column-and-one/m-p/450846#U450846" discussion_style_icon_css="lia-mention-container-editor-message lia-img-icon-forum-thread lia-fa-icon lia-fa-forum lia-fa-thread lia-fa"&gt;&lt;/LI-MESSAGE&gt; or you could try with add-in I have written &lt;LI-MESSAGE title="Join Nearest Rows - Join tables by using continuous columns and nearest values" uid="460321" url="https://community.jmp.com/t5/JMP-Add-Ins/Join-Nearest-Rows-Join-tables-by-using-continuous-columns-and/m-p/460321#U460321" discussion_style_icon_css="lia-mention-container-editor-message lia-img-icon-tkb-thread lia-fa-icon lia-fa-tkb lia-fa-thread lia-fa"&gt;&lt;/LI-MESSAGE&gt; (it might be a bit finicky to use, sorry about that).&lt;/P&gt;</description>
      <pubDate>Tue, 04 Oct 2022 18:27:36 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/How-to-join-two-tables-on-datatime-columns-that-match-within-1/m-p/552539#M76788</guid>
      <dc:creator>jthi</dc:creator>
      <dc:date>2022-10-04T18:27:36Z</dc:date>
    </item>
    <item>
      <title>Re: How to join two tables on datatime columns that match within 1 minute</title>
      <link>https://community.jmp.com/t5/Discussions/How-to-join-two-tables-on-datatime-columns-that-match-within-1/m-p/554363#M76905</link>
      <description>&lt;P&gt;Thanks for the suggests! I ended up creating two new columns.&amp;nbsp;The first column rounds down to the nearest minute and the second rounds up. I then do the join in two steps. Works well enough for my purposes. Thanks!&lt;/P&gt;</description>
      <pubDate>Mon, 10 Oct 2022 13:13:10 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/How-to-join-two-tables-on-datatime-columns-that-match-within-1/m-p/554363#M76905</guid>
      <dc:creator>jbakri</dc:creator>
      <dc:date>2022-10-10T13:13:10Z</dc:date>
    </item>
  </channel>
</rss>

