<?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: Subtracting Dates in Formula in Alteryx Designer Desktop Discussions</title>
    <link>https://community.alteryx.com/t5/Alteryx-Designer-Desktop-Discussions/Subtracting-Dates-in-Formula/m-p/478538#M96070</link>
    <description>&lt;P&gt;Glad that worked out for you&amp;nbsp;&lt;a href="https://community.alteryx.com/t5/user/viewprofilepage/user-id/118209"&gt;@Awickens&lt;/a&gt;&amp;nbsp;. Please mark any of the responses that answered your question as solutions so others with similar problems can find them. Thanks!&lt;/P&gt;</description>
    <pubDate>Mon, 21 Oct 2019 03:34:56 GMT</pubDate>
    <dc:creator>TonyA</dc:creator>
    <dc:date>2019-10-21T03:34:56Z</dc:date>
    <item>
      <title>Subtracting Dates in Formula</title>
      <link>https://community.alteryx.com/t5/Alteryx-Designer-Desktop-Discussions/Subtracting-Dates-in-Formula/m-p/477892#M95835</link>
      <description>&lt;P&gt;Hi there,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;New to using alteryx and I'm having some difficulty with the following formula and what date function to use:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;(30/09/2019-1/10/2018)/365*0.1&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;It's currently not bringing up the days between those dates and these dates are a once off in a formula (not in the data input).&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Many thanks for your help!&lt;/P&gt;</description>
      <pubDate>Fri, 18 Oct 2019 06:21:36 GMT</pubDate>
      <guid>https://community.alteryx.com/t5/Alteryx-Designer-Desktop-Discussions/Subtracting-Dates-in-Formula/m-p/477892#M95835</guid>
      <dc:creator>Awickens</dc:creator>
      <dc:date>2019-10-18T06:21:36Z</dc:date>
    </item>
    <item>
      <title>Re: Subtracting Dates in Formula</title>
      <link>https://community.alteryx.com/t5/Alteryx-Designer-Desktop-Discussions/Subtracting-Dates-in-Formula/m-p/477899#M95839</link>
      <description>&lt;P&gt;It looks like you are trying to calculate the number of days between two dates. Here's an example of a formula that does that in Alteryx:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;FONT face="courier new,courier"&gt;DateTimeDiff("2019-09-30","2018-10-01","days")&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;With this function, you have a number of options for time periods, ("seconds", "minutes", "hours", etc.). Here's a link in Academy to some interactive training on date functions:&amp;nbsp;&lt;A href="https://community.alteryx.com/t5/Interactive-Lessons/DateTime-Functions/ta-p/98952" target="_blank"&gt;https://community.alteryx.com/t5/Interactive-Lessons/DateTime-Functions/ta-p/98952&lt;/A&gt;. If you haven't done so already, I would recommend you go through as many of those introductory videos as you can. I found them very helpful when I started learning Designer.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 18 Oct 2019 06:42:11 GMT</pubDate>
      <guid>https://community.alteryx.com/t5/Alteryx-Designer-Desktop-Discussions/Subtracting-Dates-in-Formula/m-p/477899#M95839</guid>
      <dc:creator>TonyA</dc:creator>
      <dc:date>2019-10-18T06:42:11Z</dc:date>
    </item>
    <item>
      <title>Re: Subtracting Dates in Formula</title>
      <link>https://community.alteryx.com/t5/Alteryx-Designer-Desktop-Discussions/Subtracting-Dates-in-Formula/m-p/477900#M95840</link>
      <description>&lt;P&gt;Hi &lt;a href="https://community.alteryx.com/t5/user/viewprofilepage/user-id/118209"&gt;@Awickens&lt;/a&gt; ,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;you have to convert the dates to dateformat in the first step, the you can use DateTimeDiff formula to calculate the difference in days and multiply that difference by 0.1. I've attached a sample workflow. Hope this is helpful.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Best regards&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Roland&lt;/P&gt;</description>
      <pubDate>Fri, 18 Oct 2019 06:43:37 GMT</pubDate>
      <guid>https://community.alteryx.com/t5/Alteryx-Designer-Desktop-Discussions/Subtracting-Dates-in-Formula/m-p/477900#M95840</guid>
      <dc:creator>RolandSchubert</dc:creator>
      <dc:date>2019-10-18T06:43:37Z</dc:date>
    </item>
    <item>
      <title>Re: Subtracting Dates in Formula</title>
      <link>https://community.alteryx.com/t5/Alteryx-Designer-Desktop-Discussions/Subtracting-Dates-in-Formula/m-p/478530#M96067</link>
      <description>&lt;P&gt;The date formula worked perfectly! Thanks&amp;nbsp;&lt;a href="https://community.alteryx.com/t5/user/viewprofilepage/user-id/68864"&gt;@TonyA&lt;/a&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 21 Oct 2019 01:23:58 GMT</pubDate>
      <guid>https://community.alteryx.com/t5/Alteryx-Designer-Desktop-Discussions/Subtracting-Dates-in-Formula/m-p/478530#M96067</guid>
      <dc:creator>Awickens</dc:creator>
      <dc:date>2019-10-21T01:23:58Z</dc:date>
    </item>
    <item>
      <title>Re: Subtracting Dates in Formula</title>
      <link>https://community.alteryx.com/t5/Alteryx-Designer-Desktop-Discussions/Subtracting-Dates-in-Formula/m-p/478538#M96070</link>
      <description>&lt;P&gt;Glad that worked out for you&amp;nbsp;&lt;a href="https://community.alteryx.com/t5/user/viewprofilepage/user-id/118209"&gt;@Awickens&lt;/a&gt;&amp;nbsp;. Please mark any of the responses that answered your question as solutions so others with similar problems can find them. Thanks!&lt;/P&gt;</description>
      <pubDate>Mon, 21 Oct 2019 03:34:56 GMT</pubDate>
      <guid>https://community.alteryx.com/t5/Alteryx-Designer-Desktop-Discussions/Subtracting-Dates-in-Formula/m-p/478538#M96070</guid>
      <dc:creator>TonyA</dc:creator>
      <dc:date>2019-10-21T03:34:56Z</dc:date>
    </item>
  </channel>
</rss>

