<?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: Calculate Birthdays Anniversary / Jubilee from birthday date. in ArcGIS Survey123 Questions</title>
    <link>https://community.esri.com/t5/arcgis-survey123-questions/calculate-birthdays-anniversary-jubilee-from/m-p/1242683#M46618</link>
    <description>&lt;P&gt;Dear Alfred,&lt;/P&gt;&lt;P&gt;I thank You so much for your suggestion. I will be trying this during this week and let you know how it worked. I am also sure it has to do with the leap year, only I find it SO STRANGE that ArcGIS didn´t even consider/mention such a problem. I mean if you read the description on the Blog of Mr. Chivite about Dates and Time, leap years are not even mentioned....&lt;/P&gt;&lt;P&gt;Thanks you again, I will come back to You as soon as i tested it out.&lt;/P&gt;&lt;P&gt;Kindest regards&lt;/P&gt;&lt;P&gt;&lt;span class="lia-unicode-emoji" title=":smiling_face_with_smiling_eyes:"&gt;😊&lt;/span&gt;&lt;/P&gt;</description>
    <pubDate>Tue, 20 Dec 2022 14:52:22 GMT</pubDate>
    <dc:creator>DoZ</dc:creator>
    <dc:date>2022-12-20T14:52:22Z</dc:date>
    <item>
      <title>Calculate Birthdays Anniversary / Jubilee from birthday date.</title>
      <link>https://community.esri.com/t5/arcgis-survey123-questions/calculate-birthdays-anniversary-jubilee-from/m-p/1241924#M46575</link>
      <description>&lt;P&gt;&lt;STRONG&gt;Hello every one, &lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;my question is quite straightforward: I want to enter a birthday date and have the Birthday jubilee, f.i. the 18th, the 20th, 30th birthdays&amp;nbsp;&lt;SPAN&gt;and so on , automatically calculated.&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;I used the following formula (from here&amp;nbsp;&lt;A href="https://doc.arcgis.com/en/survey123/browser/create-surveys/decimaldatetime.htm" target="_blank"&gt;Decimal date time—ArcGIS Survey123 | Documentation&lt;/A&gt;&lt;span class="lia-unicode-emoji" title=":disappointed_face:"&gt;😞&lt;/span&gt;&amp;nbsp;&lt;/STRONG&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;&lt;STRONG&gt;18th Anniversary: &lt;FONT color="#0000FF"&gt;date(decimal-date-time(${Geb_Datum}) + (365.25*18))&lt;/FONT&gt;&lt;/STRONG&gt;&lt;/LI&gt;&lt;LI&gt;&lt;STRONG&gt;20th Anniversary: &lt;FONT color="#0000FF"&gt;date(decimal-date-time(${Geb_Datum}) + (365.25*20))&lt;/FONT&gt;&lt;/STRONG&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;FONT color="#000000"&gt;&lt;STRONG&gt;But when I enter a Birthday, the calculation seems to have a 1-Day error, but only in some Jubilees.&lt;/STRONG&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;U&gt;&lt;FONT color="#000000"&gt;&lt;STRONG&gt;Birthday date 01.12.2020&lt;/STRONG&gt;&lt;/FONT&gt;&lt;/U&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="DoZ_0-1671190158344.png" style="width: 999px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/58741iE8A12336FC54E151/image-size/large?v=v2&amp;amp;px=999" role="button" title="DoZ_0-1671190158344.png" alt="DoZ_0-1671190158344.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;U&gt;&lt;FONT color="#000000"&gt;&lt;STRONG&gt;Birthday date 01.12.2020&lt;/STRONG&gt;&lt;/FONT&gt;&lt;/U&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="DoZ_1-1671190197521.png" style="width: 400px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/58742i64FD27F2E3462C33/image-size/medium?v=v2&amp;amp;px=400" role="button" title="DoZ_1-1671190197521.png" alt="DoZ_1-1671190197521.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Very strange is that depending on the date entered, the same calculation seems to be right:&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;U&gt;&lt;FONT color="#000000"&gt;&lt;STRONG&gt;Birthday date 01.11.1979&lt;/STRONG&gt;&lt;/FONT&gt;&lt;/U&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="DoZ_2-1671190453214.png" style="width: 400px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/58743iF914C0178DE22061/image-size/medium?v=v2&amp;amp;px=400" role="button" title="DoZ_2-1671190453214.png" alt="DoZ_2-1671190453214.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;PLEASE HELP!!&lt;span class="lia-unicode-emoji" title=":confused_face:"&gt;😕&lt;/span&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 16 Dec 2022 11:37:22 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-survey123-questions/calculate-birthdays-anniversary-jubilee-from/m-p/1241924#M46575</guid>
      <dc:creator>DoZ</dc:creator>
      <dc:date>2022-12-16T11:37:22Z</dc:date>
    </item>
    <item>
      <title>Re: Calculate Birthdays Anniversary / Jubilee from birthday date.</title>
      <link>https://community.esri.com/t5/arcgis-survey123-questions/calculate-birthdays-anniversary-jubilee-from/m-p/1242060#M46583</link>
      <description>&lt;P&gt;Great question! I'm wondering if it's a leap-year issue.&amp;nbsp;&lt;/P&gt;&lt;DIV class=""&gt;&lt;DIV class=""&gt;I found this online; let me know if this fixes your calculations.&lt;/DIV&gt;&lt;/DIV&gt;&lt;DIV class=""&gt;&lt;DIV class=""&gt;&lt;DIV class=""&gt;&lt;DIV class=""&gt;&amp;nbsp;&lt;/DIV&gt;&lt;/DIV&gt;&lt;DIV class=""&gt;&lt;DIV class=""&gt;Leap years — years with an extra day at the end of February — were&amp;nbsp;invented as a way to keep calendar years (which are normally 365 days long) and astronomical years (which are 365.2425 days long) in sync with one another.&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;</description>
      <pubDate>Fri, 16 Dec 2022 17:25:26 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-survey123-questions/calculate-birthdays-anniversary-jubilee-from/m-p/1242060#M46583</guid>
      <dc:creator>MichelleWilliamsERM</dc:creator>
      <dc:date>2022-12-16T17:25:26Z</dc:date>
    </item>
    <item>
      <title>Re: Calculate Birthdays Anniversary / Jubilee from birthday date.</title>
      <link>https://community.esri.com/t5/arcgis-survey123-questions/calculate-birthdays-anniversary-jubilee-from/m-p/1242296#M46588</link>
      <description>&lt;P&gt;Hello Michelle,&lt;/P&gt;&lt;P&gt;thank You for your suggestion, I tried it and guess what? the results were inverted. The Birthday date&amp;nbsp;&lt;U&gt;&lt;FONT color="#000000"&gt;&lt;STRONG&gt;01.12.2020 &lt;/STRONG&gt;&lt;/FONT&gt;&lt;/U&gt;&lt;FONT color="#000000"&gt;previosuly wrong, was now right. And the birthday date &lt;U&gt;&lt;STRONG&gt;01.11.1979&lt;/STRONG&gt;&lt;/U&gt; previously right is now wrong.&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="DoZ_1-1671446351921.png" style="width: 400px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/58843i0276CABD1C7731EB/image-size/medium?v=v2&amp;amp;px=400" role="button" title="DoZ_1-1671446351921.png" alt="DoZ_1-1671446351921.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="DoZ_0-1671446322309.png" style="width: 400px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/58842i859EAA791A6DBBB2/image-size/medium?v=v2&amp;amp;px=400" role="button" title="DoZ_0-1671446322309.png" alt="DoZ_0-1671446322309.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Any other ideas?&lt;/P&gt;&lt;P&gt;Thank You very much!!&lt;/P&gt;</description>
      <pubDate>Mon, 19 Dec 2022 10:47:34 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-survey123-questions/calculate-birthdays-anniversary-jubilee-from/m-p/1242296#M46588</guid>
      <dc:creator>DoZ</dc:creator>
      <dc:date>2022-12-19T10:47:34Z</dc:date>
    </item>
    <item>
      <title>Re: Calculate Birthdays Anniversary / Jubilee from birthday date.</title>
      <link>https://community.esri.com/t5/arcgis-survey123-questions/calculate-birthdays-anniversary-jubilee-from/m-p/1242297#M46589</link>
      <description>&lt;P&gt;Hello guys,&lt;/P&gt;&lt;P&gt;&lt;FONT color="#000000"&gt;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/2929"&gt;@IsmaelChivite&lt;/a&gt;&amp;nbsp;I read all your BLOGS and didn´t come across such a problem. Any suggestions please??&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#000000"&gt;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/1213"&gt;@JamesTedrick&lt;/a&gt;&amp;nbsp;You are en expert in Survey123 Solutions, have you ever came acrosso such a case?&amp;nbsp;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#000000"&gt;I very much appreciate your help.&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#000000"&gt;Thanks in advance and my kindest regards,&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#000000"&gt;Dorella&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#000000"&gt;THANKS!&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 19 Dec 2022 10:48:33 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-survey123-questions/calculate-birthdays-anniversary-jubilee-from/m-p/1242297#M46589</guid>
      <dc:creator>DoZ</dc:creator>
      <dc:date>2022-12-19T10:48:33Z</dc:date>
    </item>
    <item>
      <title>Re: Calculate Birthdays Anniversary / Jubilee from birthday date.</title>
      <link>https://community.esri.com/t5/arcgis-survey123-questions/calculate-birthdays-anniversary-jubilee-from/m-p/1242388#M46597</link>
      <description>&lt;P&gt;It was a problem with the leap year.&lt;/P&gt;&lt;P&gt;(I am not 100% sure on how exactly this works, but here's my thought process to solve this)&lt;/P&gt;&lt;P&gt;Specifically, if the year input is a leap year, you have to account for the difference by subtracting one day.&lt;/P&gt;&lt;PRE&gt;if(format-date(${Ex8},'%Y') mod 4 = 0, date(decimal-date-time(${Ex8}) + ((365.25*18)- 1)), date(decimal-date-time(${Ex8}) + ((365.25*18))))&lt;BR /&gt;&lt;BR /&gt;Formula explanation: if the input year is evenly divisible by 4, subtract one day for a leap year, otherwise add as normal.&lt;/PRE&gt;&lt;P&gt;This yields the following for December 1, 2020, and for November 1, 1979, as&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="AlfredBaldenweck_4-1671464286461.png" style="width: 999px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/58874i10981E59B3F73A25/image-size/large?v=v2&amp;amp;px=999" role="button" title="AlfredBaldenweck_4-1671464286461.png" alt="AlfredBaldenweck_4-1671464286461.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="AlfredBaldenweck_3-1671464240947.png" style="width: 999px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/58873iC4BB9A1C008BF6A4/image-size/large?v=v2&amp;amp;px=999" role="button" title="AlfredBaldenweck_3-1671464240947.png" alt="AlfredBaldenweck_3-1671464240947.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;You'll notice that for leap years, the 20th and 40th anniversaries are showing up incorrectly. That is (as best I can tell), because those years are &lt;EM&gt;&lt;U&gt;evenly&amp;nbsp;divisible by four&lt;/U&gt;&lt;/EM&gt; also.&lt;/P&gt;&lt;P&gt;To fix this, just use your original formula for those fields.&lt;/P&gt;&lt;PRE&gt;&lt;FONT color="#000000"&gt;date(decimal-date-time(${Geb_Datum}) + (365.25*20))&lt;/FONT&gt;&lt;/PRE&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="AlfredBaldenweck_5-1671464684347.png" style="width: 999px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/58875i3429E0A1A4911104/image-size/large?v=v2&amp;amp;px=999" role="button" title="AlfredBaldenweck_5-1671464684347.png" alt="AlfredBaldenweck_5-1671464684347.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="AlfredBaldenweck_6-1671464770643.png" style="width: 999px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/58876iA4B47BE36191A934/image-size/large?v=v2&amp;amp;px=999" role="button" title="AlfredBaldenweck_6-1671464770643.png" alt="AlfredBaldenweck_6-1671464770643.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;To summarize, the following should help you:&lt;/P&gt;&lt;TABLE width="785px"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD width="49px"&gt;&lt;STRONG&gt;Type&lt;/STRONG&gt;&lt;/TD&gt;&lt;TD width="82px"&gt;&lt;STRONG&gt;Name&lt;/STRONG&gt;&lt;/TD&gt;&lt;TD width="95px"&gt;&lt;STRONG&gt;Label&lt;/STRONG&gt;&lt;/TD&gt;&lt;TD width="559px"&gt;&lt;STRONG&gt;Calculation&lt;/STRONG&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD width="49px"&gt;date&lt;/TD&gt;&lt;TD width="82px"&gt;Ex8&lt;/TD&gt;&lt;TD width="95px"&gt;Example 8&lt;/TD&gt;&lt;TD width="559px"&gt;&amp;nbsp;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD width="49px"&gt;date&lt;/TD&gt;&lt;TD width="82px"&gt;Ann18Fix&lt;/TD&gt;&lt;TD width="95px"&gt;18th Anniversary Fixed&lt;/TD&gt;&lt;TD width="559px"&gt;if(format-date(${Ex8},'%Y') mod 4 = 0, date(decimal-date-time(${Ex8}) + ((365.25*18)- 1)), date(decimal-date-time(${Ex8}) + ((365.25*18))))&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD width="49px"&gt;date&lt;/TD&gt;&lt;TD width="82px"&gt;Ann20Fix&lt;/TD&gt;&lt;TD width="95px"&gt;20th Anniversary Fixed&lt;/TD&gt;&lt;TD width="559px"&gt;date(decimal-date-time(${Ex8}) + (365.25*20))&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD width="49px"&gt;date&lt;/TD&gt;&lt;TD width="82px"&gt;Ann30Fix&lt;/TD&gt;&lt;TD width="95px"&gt;30th Anniversary Fixed&lt;/TD&gt;&lt;TD width="559px"&gt;if(format-date(${Ex8},'%Y') mod 4 = 0, date(decimal-date-time(${Ex8}) + ((365.25*30)- 1)), date(decimal-date-time(${Ex8}) + ((365.25*30))))&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD width="49px"&gt;date&lt;/TD&gt;&lt;TD width="82px"&gt;Ann40Fix&lt;/TD&gt;&lt;TD width="95px"&gt;40th Anniversary Fixed&lt;/TD&gt;&lt;TD width="559px"&gt;date(decimal-date-time(${Ex8}) + (365.25*40))&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Hope this helps!&lt;/P&gt;</description>
      <pubDate>Mon, 19 Dec 2022 15:54:43 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-survey123-questions/calculate-birthdays-anniversary-jubilee-from/m-p/1242388#M46597</guid>
      <dc:creator>AlfredBaldenweck</dc:creator>
      <dc:date>2022-12-19T15:54:43Z</dc:date>
    </item>
    <item>
      <title>Re: Calculate Birthdays Anniversary / Jubilee from birthday date.</title>
      <link>https://community.esri.com/t5/arcgis-survey123-questions/calculate-birthdays-anniversary-jubilee-from/m-p/1242683#M46618</link>
      <description>&lt;P&gt;Dear Alfred,&lt;/P&gt;&lt;P&gt;I thank You so much for your suggestion. I will be trying this during this week and let you know how it worked. I am also sure it has to do with the leap year, only I find it SO STRANGE that ArcGIS didn´t even consider/mention such a problem. I mean if you read the description on the Blog of Mr. Chivite about Dates and Time, leap years are not even mentioned....&lt;/P&gt;&lt;P&gt;Thanks you again, I will come back to You as soon as i tested it out.&lt;/P&gt;&lt;P&gt;Kindest regards&lt;/P&gt;&lt;P&gt;&lt;span class="lia-unicode-emoji" title=":smiling_face_with_smiling_eyes:"&gt;😊&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 20 Dec 2022 14:52:22 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-survey123-questions/calculate-birthdays-anniversary-jubilee-from/m-p/1242683#M46618</guid>
      <dc:creator>DoZ</dc:creator>
      <dc:date>2022-12-20T14:52:22Z</dc:date>
    </item>
    <item>
      <title>Re: Calculate Birthdays Anniversary / Jubilee from birthday date.</title>
      <link>https://community.esri.com/t5/arcgis-survey123-questions/calculate-birthdays-anniversary-jubilee-from/m-p/1243288#M46652</link>
      <description>&lt;P&gt;Dear Alfred,&lt;/P&gt;&lt;P&gt;I tried your suggested solution but unfortunately it didn't work, or at least something in the logic needs to be adjusted.&lt;BR /&gt;When I enter my first two TEST birthday dates (01/01/2020 and 11/01/1979) your solution adapts perfectly, but when I randomly choose another birthday date it sometimes doesn't work.&lt;/P&gt;&lt;P&gt;Please look:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="DoZ_0-1671709838226.png" style="width: 400px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/59156i58F6D6EE909051E0/image-size/medium?v=v2&amp;amp;px=400" role="button" title="DoZ_0-1671709838226.png" alt="DoZ_0-1671709838226.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;I hereby also attach the xls form screenshot:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="DoZ_1-1671709908874.png" style="width: 400px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/59157i0EF7D55DACA78EF4/image-size/medium?v=v2&amp;amp;px=400" role="button" title="DoZ_1-1671709908874.png" alt="DoZ_1-1671709908874.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;I think there must be a way to correct this, perhaps by converting the result to a string and then applying logic that if the number representing the DAY is different than the number in the "Birthday" field, should then be replaced back into a date field, but that's way too complex for me. And anyway, I still can't believe Esri hasn't come across such a problem yet. Maybe not for anniversaries, but for example to calculate when an inspection needs to be repeated in the future or when an object needs to be changed or checked in the future... I'm not sure I can explain myself clearly enough, I apologize for that.&lt;/P&gt;&lt;P&gt;Thank you for your help and I look forward to your opinion.&lt;/P&gt;&lt;P&gt;Best regards!&lt;/P&gt;</description>
      <pubDate>Thu, 22 Dec 2022 11:58:24 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-survey123-questions/calculate-birthdays-anniversary-jubilee-from/m-p/1243288#M46652</guid>
      <dc:creator>DoZ</dc:creator>
      <dc:date>2022-12-22T11:58:24Z</dc:date>
    </item>
    <item>
      <title>Re: Calculate Birthdays Anniversary / Jubilee from birthday date.</title>
      <link>https://community.esri.com/t5/arcgis-survey123-questions/calculate-birthdays-anniversary-jubilee-from/m-p/1243361#M46659</link>
      <description>&lt;P&gt;Hi DoZ,&lt;/P&gt;&lt;P&gt;That is really strange.&lt;/P&gt;&lt;P&gt;I took another look, and it looks like it's specifically having issues with the year AFTER a leap year, as well.&lt;/P&gt;&lt;P&gt;Luckily, that's an easy fix.&lt;/P&gt;&lt;PRE&gt;if(format-date(${Ex8},'%Y') mod 4 = 0 or format-date(${Ex8},'%Y') mod 4 = 1 , date(decimal-date-time(${Ex8}) + ((365.25*18)- 1)), date(decimal-date-time(${Ex8}) + ((365.25*18))))&lt;/PRE&gt;&lt;P&gt;This formula checks to see if it's a leap year or the year after by seeing if it is evenly divisible by 4, or if it has a remainder of 1.&amp;nbsp;(I checked each year from 1977 to 2010, so it should be good)&lt;/P&gt;&lt;P&gt;1977-1981 for proof:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="AlfredBaldenweck_0-1671727812160.png" style="width: 999px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/59170i5BC3242BF0C8DACD/image-size/large?v=v2&amp;amp;px=999" role="button" title="AlfredBaldenweck_0-1671727812160.png" alt="AlfredBaldenweck_0-1671727812160.png" /&gt;&lt;/span&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="AlfredBaldenweck_1-1671727840035.png" style="width: 999px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/59171i5968FEFD34B57D4F/image-size/large?v=v2&amp;amp;px=999" role="button" title="AlfredBaldenweck_1-1671727840035.png" alt="AlfredBaldenweck_1-1671727840035.png" /&gt;&lt;/span&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="AlfredBaldenweck_2-1671727860287.png" style="width: 999px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/59172i0CEC898A9C378FF6/image-size/large?v=v2&amp;amp;px=999" role="button" title="AlfredBaldenweck_2-1671727860287.png" alt="AlfredBaldenweck_2-1671727860287.png" /&gt;&lt;/span&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="AlfredBaldenweck_3-1671727882424.png" style="width: 999px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/59173i5051716A7EA7FEFE/image-size/large?v=v2&amp;amp;px=999" role="button" title="AlfredBaldenweck_3-1671727882424.png" alt="AlfredBaldenweck_3-1671727882424.png" /&gt;&lt;/span&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="AlfredBaldenweck_4-1671727911312.png" style="width: 999px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/59174iE7C3AB02A8A0C581/image-size/large?v=v2&amp;amp;px=999" role="button" title="AlfredBaldenweck_4-1671727911312.png" alt="AlfredBaldenweck_4-1671727911312.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;TABLE width="785px"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD width="49px"&gt;&lt;STRONG&gt;Type&lt;/STRONG&gt;&lt;/TD&gt;&lt;TD width="82px"&gt;&lt;STRONG&gt;Name&lt;/STRONG&gt;&lt;/TD&gt;&lt;TD width="95px"&gt;&lt;STRONG&gt;Label&lt;/STRONG&gt;&lt;/TD&gt;&lt;TD width="559px"&gt;&lt;STRONG&gt;Calculation&lt;/STRONG&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD width="49px"&gt;date&lt;/TD&gt;&lt;TD width="82px"&gt;Ex8&lt;/TD&gt;&lt;TD width="95px"&gt;Example 8&lt;/TD&gt;&lt;TD width="559px"&gt;&amp;nbsp;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD width="49px"&gt;date&lt;/TD&gt;&lt;TD width="82px"&gt;Ann18Fix&lt;/TD&gt;&lt;TD width="95px"&gt;18th Anniversary Fixed&lt;/TD&gt;&lt;TD width="559px"&gt;if(format-date(${Ex8},'%Y') mod 4 = 0 or format-date(${Ex8},'%Y') mod 4 = 1 , date(decimal-date-time(${Ex8}) + ((365.25*18)- 1)), date(decimal-date-time(${Ex8}) + ((365.25*18))))&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD width="49px"&gt;date&lt;/TD&gt;&lt;TD width="82px"&gt;Ann20Fix&lt;/TD&gt;&lt;TD width="95px"&gt;20th Anniversary Fixed&lt;/TD&gt;&lt;TD width="559px"&gt;date(decimal-date-time(${Ex8}) + (365.25*20))&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD width="49px"&gt;date&lt;/TD&gt;&lt;TD width="82px"&gt;Ann30Fix&lt;/TD&gt;&lt;TD width="95px"&gt;30th Anniversary Fixed&lt;/TD&gt;&lt;TD width="559px"&gt;if(format-date(${Ex8},'%Y') mod 4 = 0 or format-date(${Ex8},'%Y') mod 4 = 1 , date(decimal-date-time(${Ex8}) + ((365.25*30)- 1)), date(decimal-date-time(${Ex8}) + ((365.25*30))))&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD width="49px"&gt;date&lt;/TD&gt;&lt;TD width="82px"&gt;Ann40Fix&lt;/TD&gt;&lt;TD width="95px"&gt;40th Anniversary Fixed&lt;/TD&gt;&lt;TD width="559px"&gt;date(decimal-date-time(${Ex8}) + (365.25*40))&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&amp;nbsp;Like you say, it's strange that leap years aren't accounted for.&lt;/P&gt;&lt;P&gt;Hopefully this helps!&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 22 Dec 2022 16:52:57 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-survey123-questions/calculate-birthdays-anniversary-jubilee-from/m-p/1243361#M46659</guid>
      <dc:creator>AlfredBaldenweck</dc:creator>
      <dc:date>2022-12-22T16:52:57Z</dc:date>
    </item>
    <item>
      <title>Re: Calculate Birthdays Anniversary / Jubilee from birthday date.</title>
      <link>https://community.esri.com/t5/arcgis-survey123-questions/calculate-birthdays-anniversary-jubilee-from/m-p/1243549#M46676</link>
      <description>&lt;P&gt;Hi Alfred,&lt;/P&gt;&lt;P&gt;I tried it out but please take a look at the Birthday date 1st of November for the 18th Anniversary with the formula:&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;if(format-date(${Geb_Datum},'%Y') mod 4 = 0 or format-date(${Geb_Datum},'%Y') mod 4 = 1, date(decimal-date-time(${Geb_Datum}) + ((365.25*18)- 1)), date(decimal-date-time(${Geb_Datum}) + ((365.25*18))))&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;This formula worked good for years: 1987, 1988,1989, 1990, 1991 till 2022 showing the 1st of November,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;but for the years 1986, 1985, 1984, 1983, 1982, 1981 is showing 31st of October&lt;/P&gt;&lt;P&gt;It seems unfortunally there are no leap years involved in this logic...&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Leap years were:&amp;nbsp;1980 1984 1988 1992 1996&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;Then it get´s more interesting because for year 1980 going back to 1958 it is showing again the correct 1st of November &lt;STRONG&gt;BUT&lt;/STRONG&gt; from year 1957 backwards is showing again the wrong date of 31st of October and also the 50th anniversary show a different date..&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;I am getting so upset! I can´t seem to find a logic...&amp;nbsp; &amp;nbsp;&lt;span class="lia-unicode-emoji" title=":sad_but_relieved_face:"&gt;😥&lt;/span&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="DoZ_0-1671786223098.png" style="width: 400px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/59232i9F2323BB63D84B19/image-size/medium?v=v2&amp;amp;px=400" role="button" title="DoZ_0-1671786223098.png" alt="DoZ_0-1671786223098.png" /&gt;&lt;/span&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="DoZ_1-1671786253162.png" style="width: 400px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/59233iEAECCEC6C0210AD3/image-size/medium?v=v2&amp;amp;px=400" role="button" title="DoZ_1-1671786253162.png" alt="DoZ_1-1671786253162.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="DoZ_2-1671786809950.png" style="width: 400px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/59234i68084E179C2A07F7/image-size/medium?v=v2&amp;amp;px=400" role="button" title="DoZ_2-1671786809950.png" alt="DoZ_2-1671786809950.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="DoZ_3-1671786942163.png" style="width: 400px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/59235i87194152F99BCEDB/image-size/medium?v=v2&amp;amp;px=400" role="button" title="DoZ_3-1671786942163.png" alt="DoZ_3-1671786942163.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 23 Dec 2022 09:17:36 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-survey123-questions/calculate-birthdays-anniversary-jubilee-from/m-p/1243549#M46676</guid>
      <dc:creator>DoZ</dc:creator>
      <dc:date>2022-12-23T09:17:36Z</dc:date>
    </item>
    <item>
      <title>Re: Calculate Birthdays Anniversary / Jubilee from birthday date.</title>
      <link>https://community.esri.com/t5/arcgis-survey123-questions/calculate-birthdays-anniversary-jubilee-from/m-p/1243560#M46677</link>
      <description>&lt;P&gt;Hi Alfred,&lt;/P&gt;&lt;P&gt;it´s me again! So I tried something different....&lt;/P&gt;&lt;P&gt;I converted the birthday date into an integer and added 18 to get the year in which the person will celebrating the 18th birthday.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="DoZ_5-1671796206488.png" style="width: 546px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/59237i5385AB03389E9A82/image-dimensions/546x56?v=v2" width="546" height="56" role="button" title="DoZ_5-1671796206488.png" alt="DoZ_5-1671796206488.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;After this I created a TEXT field where I take the Day and Month from the birthday´s field and add to it the calculated year as a string. Now I have the correct day and Month and the year in which the person will be 18 years old.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="DoZ_6-1671796278427.png" style="width: 657px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/59238i7EE4B23A3EDD1F13/image-dimensions/657x69?v=v2" width="657" height="69" role="button" title="DoZ_6-1671796278427.png" alt="DoZ_6-1671796278427.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;After this I just need to convert everything back into a date field:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="DoZ_7-1671796410175.png" style="width: 696px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/59239iBFAA183EF0F37573/image-dimensions/696x80?v=v2" width="696" height="80" role="button" title="DoZ_7-1671796410175.png" alt="DoZ_7-1671796410175.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;I am aware of the fact that I will need 2 extra fields for each anniversary, but I intend to set those fields as hidden and with &lt;EM&gt;bind::esri:fieldType&lt;/EM&gt; as &lt;STRONG&gt;null&lt;/STRONG&gt;&amp;nbsp;these will not be published to the feature Service.&lt;/P&gt;&lt;P&gt;What do you think?&amp;nbsp;&lt;span class="lia-unicode-emoji" title=":smiling_face_with_smiling_eyes:"&gt;😊&lt;/span&gt; maybe is not neat...but at least i avoid the leap year problem.&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 23 Dec 2022 11:57:58 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-survey123-questions/calculate-birthdays-anniversary-jubilee-from/m-p/1243560#M46677</guid>
      <dc:creator>DoZ</dc:creator>
      <dc:date>2022-12-23T11:57:58Z</dc:date>
    </item>
    <item>
      <title>Re: Calculate Birthdays Anniversary / Jubilee from birthday date.</title>
      <link>https://community.esri.com/t5/arcgis-survey123-questions/calculate-birthdays-anniversary-jubilee-from/m-p/1243600#M46679</link>
      <description>&lt;P&gt;Wow, that is so strange.&lt;/P&gt;&lt;P&gt;I'm really sorry; my formula worked fine for me.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="AlfredBaldenweck_0-1671810321270.png" style="width: 999px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/59241iEBC6F24060710392/image-size/large?v=v2&amp;amp;px=999" role="button" title="AlfredBaldenweck_0-1671810321270.png" alt="AlfredBaldenweck_0-1671810321270.png" /&gt;&lt;/span&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="AlfredBaldenweck_1-1671810461640.png" style="width: 999px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/59242i3746C682631F2B76/image-size/large?v=v2&amp;amp;px=999" role="button" title="AlfredBaldenweck_1-1671810461640.png" alt="AlfredBaldenweck_1-1671810461640.png" /&gt;&lt;/span&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="AlfredBaldenweck_2-1671810517174.png" style="width: 999px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/59243i15C956956C56E15C/image-size/large?v=v2&amp;amp;px=999" role="button" title="AlfredBaldenweck_2-1671810517174.png" alt="AlfredBaldenweck_2-1671810517174.png" /&gt;&lt;/span&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="AlfredBaldenweck_4-1671810603730.png" style="width: 999px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/59245iF7A6A60751891EED/image-size/large?v=v2&amp;amp;px=999" role="button" title="AlfredBaldenweck_4-1671810603730.png" alt="AlfredBaldenweck_4-1671810603730.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;I think your solution should work! It's certainly a lot less confusing than mine.&lt;/P&gt;&lt;P&gt;That being said, I can't make it work on my end. No matter what date I input, the final date is always Wednesday, December 31st, 1969.&lt;/P&gt;&lt;P&gt;If it works for you, though, you should go for it! Just watch out for February 29th&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;As an aside, I was reviewing my formula and noticed it got messed up in the beginning of the year, as well as two years after the leap year. This formula should work for any date, assuming it works for you at all.&lt;/P&gt;&lt;PRE&gt;if(((format-date(${Ex8},'%Y') mod 4 = 0) and (format-date(${Ex8}, '%n') &amp;gt; 2)) or (format-date(${Ex8},'%Y') mod 4 = 1) or ((format-date(${Ex8},'%Y') mod 4 = 2) and (format-date(${Ex8}, '%n') &amp;lt;3)), date(decimal-date-time(${Ex8}) + ((365.25*30)- 1)), date(decimal-date-time(${Ex8}) + ((365.25*30))))&lt;/PRE&gt;&lt;P&gt;I tested it for February and March 1st of the years 2022-2027. It also works for February 29th; 18 or 30 years after the 29th is March 1st.&amp;nbsp;&lt;/P&gt;&lt;P&gt;The gist of the formula is:&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;If a leap year AND after February&lt;BR /&gt;OR&lt;/LI&gt;&lt;LI&gt;If the year after a leap year&lt;BR /&gt;OR&lt;/LI&gt;&lt;LI&gt;Two years after a leap year AND after February&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;then subtract one day.&lt;/P&gt;&lt;P&gt;You are right; after muddling through this, I'm not sure why Esri hasn't figured out a solution directly.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Let us know how it works out!&lt;/P&gt;</description>
      <pubDate>Fri, 23 Dec 2022 17:42:15 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-survey123-questions/calculate-birthdays-anniversary-jubilee-from/m-p/1243600#M46679</guid>
      <dc:creator>AlfredBaldenweck</dc:creator>
      <dc:date>2022-12-23T17:42:15Z</dc:date>
    </item>
    <item>
      <title>Re: Calculate Birthdays Anniversary / Jubilee from birthday date.</title>
      <link>https://community.esri.com/t5/arcgis-survey123-questions/calculate-birthdays-anniversary-jubilee-from/m-p/1243602#M46681</link>
      <description>&lt;P&gt;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/542834"&gt;@DoZ&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Here are a few questions that might help you.&amp;nbsp;&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;What version of Survey123 Connect are you using?&amp;nbsp;&lt;/LI&gt;&lt;LI&gt;Are all your drivers up to date? I have a Dell, so I use Dell Command anytime things get wonky.&lt;/LI&gt;&lt;LI&gt;AND is Windows at a current version?&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 23 Dec 2022 17:53:31 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-survey123-questions/calculate-birthdays-anniversary-jubilee-from/m-p/1243602#M46681</guid>
      <dc:creator>MichelleWilliamsERM</dc:creator>
      <dc:date>2022-12-23T17:53:31Z</dc:date>
    </item>
    <item>
      <title>Re: Calculate Birthdays Anniversary / Jubilee from birthday date.</title>
      <link>https://community.esri.com/t5/arcgis-survey123-questions/calculate-birthdays-anniversary-jubilee-from/m-p/1243730#M46688</link>
      <description>&lt;P&gt;Hello Michelle,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;thanks for coming back to me, let see ifI can answer all your questions...&lt;/P&gt;&lt;P&gt;Survey123 Connect Version is the 3.13.249, is that ok?&lt;/P&gt;&lt;P&gt;I also have a Dell and all Drivers are uptodate because of security reasons our IT Department takes updates very seriuosly.&lt;/P&gt;&lt;P&gt;And for Windwos we have Windows 10 Enterprise Version 20H2. I think there is no plan to update to Windows 11 in shortly.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Any suggestions if some of my answers have something to do with the problem?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Kindest regards,&lt;/P&gt;&lt;P&gt;Dorella&lt;/P&gt;</description>
      <pubDate>Tue, 27 Dec 2022 09:02:39 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-survey123-questions/calculate-birthdays-anniversary-jubilee-from/m-p/1243730#M46688</guid>
      <dc:creator>DoZ</dc:creator>
      <dc:date>2022-12-27T09:02:39Z</dc:date>
    </item>
    <item>
      <title>Re: Calculate Birthdays Anniversary / Jubilee from birthday date.</title>
      <link>https://community.esri.com/t5/arcgis-survey123-questions/calculate-birthdays-anniversary-jubilee-from/m-p/1243735#M46689</link>
      <description>&lt;P&gt;Hello Alfred,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I thank You so much for all the effort and time you took to help me out....but unfortunally the last formula also didnßt wor for me.&lt;/P&gt;&lt;P&gt;The same formula worked good for the birthday date &lt;STRONG&gt;01/11/1982, 1987 and 1958&lt;/STRONG&gt;:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="DoZ_0-1672132610775.png" style="width: 400px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/59276i7103B15B034448A9/image-size/medium?v=v2&amp;amp;px=400" role="button" title="DoZ_0-1672132610775.png" alt="DoZ_0-1672132610775.png" /&gt;&lt;/span&gt;&amp;nbsp;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="DoZ_2-1672132775921.png" style="width: 400px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/59278iE68256163672F1BF/image-size/medium?v=v2&amp;amp;px=400" role="button" title="DoZ_2-1672132775921.png" alt="DoZ_2-1672132775921.png" /&gt;&lt;/span&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="DoZ_3-1672132813281.png" style="width: 400px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/59279iD96895EBE022B6CE/image-size/medium?v=v2&amp;amp;px=400" role="button" title="DoZ_3-1672132813281.png" alt="DoZ_3-1672132813281.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;But for the birthday date &lt;STRONG&gt;01/11/1957&lt;/STRONG&gt; it had a day difference in the 20th and 40th anniversary:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="DoZ_1-1672132727362.png" style="width: 400px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/59277iAD41B866B3832575/image-size/medium?v=v2&amp;amp;px=400" role="button" title="DoZ_1-1672132727362.png" alt="DoZ_1-1672132727362.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;I think a difference like this, using both of us the same formula, might have to do with the settings of windows, the date and the separtion...comma or point or something like this...I cannot figure out why we get such different results... It is very stressing... &lt;span class="lia-unicode-emoji" title=":sleepy_face:"&gt;😪&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Anyway, thank you from the deepest of my heart for all your help! &lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;I will do the integer + text conversion and simply write a hint that if the birthday date is on a 29th of februar they should contact the Admni (me&amp;nbsp;&lt;span class="lia-unicode-emoji" title=":face_with_tears_of_joy:"&gt;😂&lt;/span&gt;). So i can enter the values by hand. I read a very interesting thing: the chances of being born on a 29th of February is&amp;nbsp;&lt;SPAN&gt;about one in 1,461. In fact in my databese of 650 employees I have 0 entries for a Leap Day birthday...&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Thank You again and I wish you a nice start in the New Year!&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Regards&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 27 Dec 2022 09:30:13 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-survey123-questions/calculate-birthdays-anniversary-jubilee-from/m-p/1243735#M46689</guid>
      <dc:creator>DoZ</dc:creator>
      <dc:date>2022-12-27T09:30:13Z</dc:date>
    </item>
    <item>
      <title>Re: Calculate Birthdays Anniversary / Jubilee from birthday date.</title>
      <link>https://community.esri.com/t5/arcgis-survey123-questions/calculate-birthdays-anniversary-jubilee-from/m-p/1243882#M46700</link>
      <description>&lt;P&gt;Since&amp;nbsp;&lt;SPAN&gt;Alfred's formulas work, I have a feeling it's your old Survey123. And depending on which version you have in the field,&amp;nbsp;this could be more of an issue.&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;For example, the software is misaligned if you build in Survey123 Connect&amp;nbsp;3.13.249 and your end user uses a more current Survey123 field app.&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;I wonder if the Survey123 web app might be a better fit for your situation because of your IT approval process. I believe Esri is in charge of updating the Web Version, but I'm not 100% sure if that's true.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 27 Dec 2022 21:30:06 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-survey123-questions/calculate-birthdays-anniversary-jubilee-from/m-p/1243882#M46700</guid>
      <dc:creator>MichelleWilliamsERM</dc:creator>
      <dc:date>2022-12-27T21:30:06Z</dc:date>
    </item>
    <item>
      <title>Re: Calculate Birthdays Anniversary / Jubilee from birthday date.</title>
      <link>https://community.esri.com/t5/arcgis-survey123-questions/calculate-birthdays-anniversary-jubilee-from/m-p/1244197#M46723</link>
      <description>&lt;P&gt;Hello Michelle,&lt;/P&gt;&lt;P&gt;thanks for your concern. Actually i thought it could be a great idea to try theSurvey123 Web Design to try and solve it that way, but unfrotunally it also didn´t work.&lt;/P&gt;&lt;P&gt;I created a birthday date field, and the 18th and the 20th birthday date field, just to try out.&lt;/P&gt;&lt;P&gt;The only way to calculate a date in the future, is to add a certain amount of day. So for the 18th birthday I multiplied 365.25 days18 times (6574.25), and for the 20th birthday I used 7305 days (365.25*12):&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="DoZ_3-1672318857976.png" style="width: 576px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/59422i6FEABC1998E314CF/image-dimensions/576x247?v=v2" width="576" height="247" role="button" title="DoZ_3-1672318857976.png" alt="DoZ_3-1672318857976.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="DoZ_1-1672318501415.png" style="width: 577px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/59420iDCC1F2CBE231AEE6/image-dimensions/577x251?v=v2" width="577" height="251" role="button" title="DoZ_1-1672318501415.png" alt="DoZ_1-1672318501415.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;On Preview mode you can see I made some attempts on selecting 11th of November 1979, and unfortunally the problem of 1day difference still persist:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="DoZ_2-1672318810251.png" style="width: 400px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/59421iAF2BB02ACC7E537B/image-size/medium?v=v2&amp;amp;px=400" role="button" title="DoZ_2-1672318810251.png" alt="DoZ_2-1672318810251.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;It is really unbelivable...I am still wondering if it is me who is doing something wrong...&lt;span class="lia-unicode-emoji" title=":face_with_rolling_eyes:"&gt;🙄&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Thanks again for your help!&lt;/P&gt;&lt;P&gt;Kindest regards&lt;span class="lia-unicode-emoji" title=":winking_face:"&gt;😉&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 29 Dec 2022 13:04:07 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-survey123-questions/calculate-birthdays-anniversary-jubilee-from/m-p/1244197#M46723</guid>
      <dc:creator>DoZ</dc:creator>
      <dc:date>2022-12-29T13:04:07Z</dc:date>
    </item>
  </channel>
</rss>

