<?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: Adding dates from columns in Discussions</title>
    <link>https://community.jmp.com/t5/Discussions/Adding-dates-from-columns/m-p/685519#M87165</link>
    <description>&lt;P&gt;Yes, so the sum would be how many days does April 3-May 22 have&lt;/P&gt;</description>
    <pubDate>Wed, 11 Oct 2023 00:00:27 GMT</pubDate>
    <dc:creator>UserID16644</dc:creator>
    <dc:date>2023-10-11T00:00:27Z</dc:date>
    <item>
      <title>Adding dates from columns</title>
      <link>https://community.jmp.com/t5/Discussions/Adding-dates-from-columns/m-p/685511#M87163</link>
      <description>&lt;P&gt;I have 3 dates that I wanted to add up in order to calculate the total number of days. Is there a way to do this? I just know the Date Difference ( ) function, but doesn't know if there is a function used in calculating the sum of dates from three different columns?&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 10 Oct 2023 23:25:48 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Adding-dates-from-columns/m-p/685511#M87163</guid>
      <dc:creator>UserID16644</dc:creator>
      <dc:date>2023-10-10T23:25:48Z</dc:date>
    </item>
    <item>
      <title>Re: Adding dates from columns</title>
      <link>https://community.jmp.com/t5/Discussions/Adding-dates-from-columns/m-p/685516#M87164</link>
      <description>Adding dates is an interesting concept. &lt;BR /&gt;&lt;BR /&gt;Can you explain exactly what you mean?&lt;BR /&gt;&lt;BR /&gt;I’m trying to guess what April 3, 2022 + May 22, 2022 would be.&lt;BR /&gt;</description>
      <pubDate>Tue, 10 Oct 2023 23:57:33 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Adding-dates-from-columns/m-p/685516#M87164</guid>
      <dc:creator>Jeff_Perkinson</dc:creator>
      <dc:date>2023-10-10T23:57:33Z</dc:date>
    </item>
    <item>
      <title>Re: Adding dates from columns</title>
      <link>https://community.jmp.com/t5/Discussions/Adding-dates-from-columns/m-p/685519#M87165</link>
      <description>&lt;P&gt;Yes, so the sum would be how many days does April 3-May 22 have&lt;/P&gt;</description>
      <pubDate>Wed, 11 Oct 2023 00:00:27 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Adding-dates-from-columns/m-p/685519#M87165</guid>
      <dc:creator>UserID16644</dc:creator>
      <dc:date>2023-10-11T00:00:27Z</dc:date>
    </item>
    <item>
      <title>Re: Adding dates from columns</title>
      <link>https://community.jmp.com/t5/Discussions/Adding-dates-from-columns/m-p/685572#M87168</link>
      <description>&lt;P&gt;Here is a simple example:&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;Names Default To Here( 1 );
date1 = informat("4/3/2023");
date2 = informat("5/22/2023");
Date Difference(
	Date1,
	Date2,
	"Day",
	"start"
);&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Wed, 11 Oct 2023 01:14:56 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Adding-dates-from-columns/m-p/685572#M87168</guid>
      <dc:creator>txnelson</dc:creator>
      <dc:date>2023-10-11T01:14:56Z</dc:date>
    </item>
    <item>
      <title>Re: Adding dates from columns</title>
      <link>https://community.jmp.com/t5/Discussions/Adding-dates-from-columns/m-p/685573#M87169</link>
      <description>&lt;P&gt;That helps. The &lt;A href="https://www.jmp.com/support/help/en/17.2/index.shtml#page/jmp/date-time-functions.shtml" target="_self"&gt;Date Difference()&lt;/A&gt; function will tell you the number of days between two dates.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;//:*/
start = 03Apr2022;
end = 22May2022;
days = Date Difference( start, end, "Day" );
/*:

49&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;You said something about a third date. How will that be used?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;For more information you might find&amp;nbsp;&lt;LI-MESSAGE title="Using dates, times, datetimes and durations in JMP" uid="68689" url="https://community.jmp.com/t5/JMPer-Cable/Using-dates-times-datetimes-and-durations-in-JMP/m-p/68689#U68689" discussion_style_icon_css="lia-mention-container-editor-message lia-img-icon-blog-thread lia-fa-icon lia-fa-blog lia-fa-thread lia-fa"&gt;&lt;/LI-MESSAGE&gt;&amp;nbsp;useful.&lt;/P&gt;</description>
      <pubDate>Wed, 11 Oct 2023 01:19:12 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Adding-dates-from-columns/m-p/685573#M87169</guid>
      <dc:creator>Jeff_Perkinson</dc:creator>
      <dc:date>2023-10-11T01:19:12Z</dc:date>
    </item>
  </channel>
</rss>

