<?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: Passing date to web vs app is different in ArcGIS Survey123 Questions</title>
    <link>https://community.esri.com/t5/arcgis-survey123-questions/passing-date-to-web-vs-app-is-different/m-p/833640#M19025</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi there&lt;/P&gt;&lt;P&gt;I have a similar question, I'm trying to pass a date from my portal web map to pre-populate my web form but I'm not sure if I'm going about it right. It's date type and&amp;nbsp;esriFieldTypeDate nothing else.&lt;IMG class="image-1 jive-image" src="https://community.esri.com/legacyfs/online/431011_pastedImage_1.png" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I've tried configuring the data in the attributes to different formats&lt;/P&gt;&lt;P&gt;&lt;IMG class="image-2 jive-image" height="307" src="https://community.esri.com/legacyfs/online/431027_pastedImage_2.png" width="584" /&gt;&lt;/P&gt;&lt;P&gt;&lt;A class="unlinked"&gt;https://survey123.arcgis.com/share/8f8d10d162d74621bf1ef9fdc602e543?field:PROJ_EA=01-00&amp;amp;field:PROJ_NICK=HUM-101%20Sn%203%20Bs&amp;amp;field:PROJ_ID=009&amp;amp;field:PROJ_DESC=IN%20HT%20CY%20AT%20SPH%20FLK%20EPL%20RR%20BE%20ATD%20SN%20%2304-0065%2C%20AT%20SH%20FK%20EKL%20RR%20BE%20%2304-0076%20AFD%20AKT%20AYA%20OD%20%2304&amp;amp;field:COUNTY=HUM&amp;amp;field:ROUTE=101&amp;amp;field:PROJ_PHASE=PAED&amp;amp;field:DISTRICT=01&amp;amp;field:M_DATE=1535760000000&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;That's the URL with some text deleted for privacy, any help would be much appreciated.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 06 Dec 2018 18:01:03 GMT</pubDate>
    <dc:creator>KassandraRodriguez</dc:creator>
    <dc:date>2018-12-06T18:01:03Z</dc:date>
    <item>
      <title>Passing date to web vs app is different</title>
      <link>https://community.esri.com/t5/arcgis-survey123-questions/passing-date-to-web-vs-app-is-different/m-p/833635#M19020</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;When I use a custom url to pass a date value from a web map to the Survey123 app&amp;nbsp;I get a blank result. If I pass it to a web form it works.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The date value is coming from a date field&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Survey123 2.8.2&lt;/P&gt;&lt;P&gt;Survey Connect 2.8.4&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 05 Jul 2018 15:32:20 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-survey123-questions/passing-date-to-web-vs-app-is-different/m-p/833635#M19020</guid>
      <dc:creator>MikeOnzay</dc:creator>
      <dc:date>2018-07-05T15:32:20Z</dc:date>
    </item>
    <item>
      <title>Re: Passing date to web vs app is different</title>
      <link>https://community.esri.com/t5/arcgis-survey123-questions/passing-date-to-web-vs-app-is-different/m-p/833636#M19021</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Mike,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can you give an example of how the date is formatted in the URL? &amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 05 Jul 2018 17:48:50 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-survey123-questions/passing-date-to-web-vs-app-is-different/m-p/833636#M19021</guid>
      <dc:creator>JamesTedrick</dc:creator>
      <dc:date>2018-07-05T17:48:50Z</dc:date>
    </item>
    <item>
      <title>Re: Passing date to web vs app is different</title>
      <link>https://community.esri.com/t5/arcgis-survey123-questions/passing-date-to-web-vs-app-is-different/m-p/833637#M19022</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;arcgis-survey123://?itemID=xxx&amp;amp;field:service_address=1201%20ROCKVILLE%20PIK&amp;amp;field:meter_number=xxx&amp;amp;field:meter_install_date =1302825600000&amp;amp;field:meter_size_temp=2%20INCH%20COMPOUND&amp;amp;field:meter_model=SENSUS%20RADIO%20READ&amp;amp;field:meter_mxu=13034618&amp;amp;field:ub_account_number=0901-000098&amp;amp;center=39.0694365,-77.13084415&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 05 Jul 2018 17:55:01 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-survey123-questions/passing-date-to-web-vs-app-is-different/m-p/833637#M19022</guid>
      <dc:creator>MikeOnzay</dc:creator>
      <dc:date>2018-07-05T17:55:01Z</dc:date>
    </item>
    <item>
      <title>Re: Passing date to web vs app is different</title>
      <link>https://community.esri.com/t5/arcgis-survey123-questions/passing-date-to-web-vs-app-is-different/m-p/833638#M19023</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Mike,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Passing a date is working in my tests. &amp;nbsp;The one thing I see is that there is a space between meter_install_date and the = sign- is this in your URL (as opposed to being a GeoNet formatting issue)?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 05 Jul 2018 18:01:17 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-survey123-questions/passing-date-to-web-vs-app-is-different/m-p/833638#M19023</guid>
      <dc:creator>JamesTedrick</dc:creator>
      <dc:date>2018-07-05T18:01:17Z</dc:date>
    </item>
    <item>
      <title>Re: Passing date to web vs app is different</title>
      <link>https://community.esri.com/t5/arcgis-survey123-questions/passing-date-to-web-vs-app-is-different/m-p/833639#M19024</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The space was the issue.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It was saved in the URL. I typically build and update these URLs in Notepad++ because I can see the whole URL. I know that I need to ensure there are no carriage returns in the URLs before I copy it back to the popup. I missed this. Another item for my checklist.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 05 Jul 2018 18:20:05 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-survey123-questions/passing-date-to-web-vs-app-is-different/m-p/833639#M19024</guid>
      <dc:creator>MikeOnzay</dc:creator>
      <dc:date>2018-07-05T18:20:05Z</dc:date>
    </item>
    <item>
      <title>Re: Passing date to web vs app is different</title>
      <link>https://community.esri.com/t5/arcgis-survey123-questions/passing-date-to-web-vs-app-is-different/m-p/833640#M19025</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi there&lt;/P&gt;&lt;P&gt;I have a similar question, I'm trying to pass a date from my portal web map to pre-populate my web form but I'm not sure if I'm going about it right. It's date type and&amp;nbsp;esriFieldTypeDate nothing else.&lt;IMG class="image-1 jive-image" src="https://community.esri.com/legacyfs/online/431011_pastedImage_1.png" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I've tried configuring the data in the attributes to different formats&lt;/P&gt;&lt;P&gt;&lt;IMG class="image-2 jive-image" height="307" src="https://community.esri.com/legacyfs/online/431027_pastedImage_2.png" width="584" /&gt;&lt;/P&gt;&lt;P&gt;&lt;A class="unlinked"&gt;https://survey123.arcgis.com/share/8f8d10d162d74621bf1ef9fdc602e543?field:PROJ_EA=01-00&amp;amp;field:PROJ_NICK=HUM-101%20Sn%203%20Bs&amp;amp;field:PROJ_ID=009&amp;amp;field:PROJ_DESC=IN%20HT%20CY%20AT%20SPH%20FLK%20EPL%20RR%20BE%20ATD%20SN%20%2304-0065%2C%20AT%20SH%20FK%20EKL%20RR%20BE%20%2304-0076%20AFD%20AKT%20AYA%20OD%20%2304&amp;amp;field:COUNTY=HUM&amp;amp;field:ROUTE=101&amp;amp;field:PROJ_PHASE=PAED&amp;amp;field:DISTRICT=01&amp;amp;field:M_DATE=1535760000000&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;That's the URL with some text deleted for privacy, any help would be much appreciated.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 06 Dec 2018 18:01:03 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-survey123-questions/passing-date-to-web-vs-app-is-different/m-p/833640#M19025</guid>
      <dc:creator>KassandraRodriguez</dc:creator>
      <dc:date>2018-12-06T18:01:03Z</dc:date>
    </item>
    <item>
      <title>Re: Passing date to web vs app is different</title>
      <link>https://community.esri.com/t5/arcgis-survey123-questions/passing-date-to-web-vs-app-is-different/m-p/833641#M19026</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Found the issue finally, the original data was in excel and the date was formatted in a way that arcmap knew it was a Date field type but couldn't do anything with it. So after bringing it in under arcmap standard format it was able to pass the date.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 23 Jan 2019 15:54:45 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-survey123-questions/passing-date-to-web-vs-app-is-different/m-p/833641#M19026</guid>
      <dc:creator>KassandraRodriguez</dc:creator>
      <dc:date>2019-01-23T15:54:45Z</dc:date>
    </item>
    <item>
      <title>Re: Passing date to web vs app is different</title>
      <link>https://community.esri.com/t5/arcgis-survey123-questions/passing-date-to-web-vs-app-is-different/m-p/833642#M19027</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have a date of 8/20/2019 in Collector but when it passes to 123 it turns into 12/31/1969.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Then I removed the time and that date works but is giving 1 day before now.&amp;nbsp; So 8/19/2010.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Then I followed this post and made the form datetime.&amp;nbsp; But now it is back to 1969 if a have time on in the web map and Aug 19 if I leave the time off still.&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.esri.com/thread/238793-autopopulating-date-in-survey123-subtracts-1-day"&gt;https://community.esri.com/thread/238793-autopopulating-date-in-survey123-subtracts-1-day&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any ideas?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 01 Jul 2020 15:38:58 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-survey123-questions/passing-date-to-web-vs-app-is-different/m-p/833642#M19027</guid>
      <dc:creator>DougBrowning</dc:creator>
      <dc:date>2020-07-01T15:38:58Z</dc:date>
    </item>
    <item>
      <title>Re: Passing date to web vs app is different</title>
      <link>https://community.esri.com/t5/arcgis-survey123-questions/passing-date-to-web-vs-app-is-different/m-p/833643#M19028</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I tried using Arcade to convert it . It does convert it but then it still is wrong in 123. I think you can set a time in ArcMap for the service but my map is nation wide so this is hard to know what to set. I tested with and without a time and nothing will work.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I really wish you could store dates with no time.&amp;nbsp; Would make all of this so much easier.&amp;nbsp; None of our times are valid really in our data but it is impossible to ignore.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thanks&lt;/P&gt;&lt;P&gt;See&lt;/P&gt;&lt;P&gt;- Add Attribute expression&lt;/P&gt;&lt;P style="background-color: #ffffff; border: 0px;"&gt;- for the expression, pick the function ToLocal in the functions tab, and in the brackets put your time field from the globals tab. eg my time field is&amp;nbsp;Last_Position, so the expression is&amp;nbsp;ToLocal($feature["Last_Position"])&lt;/P&gt;&lt;P style="background-color: #ffffff; border: 0px;"&gt;- Edit the name of the expression if you like to something other than Custom&lt;/P&gt;&lt;P style="background-color: #ffffff; border: 0px;"&gt;- once you click OK, you'll have access to this new attribute in the fields available to you. configure your pop-up to show this field and you'll get your time converted to your local timezone.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 01 Jul 2020 21:36:04 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-survey123-questions/passing-date-to-web-vs-app-is-different/m-p/833643#M19028</guid>
      <dc:creator>DougBrowning</dc:creator>
      <dc:date>2020-07-01T21:36:04Z</dc:date>
    </item>
    <item>
      <title>Re: Passing date to web vs app is different</title>
      <link>https://community.esri.com/t5/arcgis-survey123-questions/passing-date-to-web-vs-app-is-different/m-p/833644#M19029</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Coming back to this I still cannot get a date to pass from Collector to 123.&amp;nbsp; I keep getting Dec 31, 1969 at 5:00pm no matter what date I send.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;URL is&amp;nbsp;&lt;/P&gt;&lt;P&gt;arcgis-survey123://?itemID=269b8fefe93b4aa782cdfd873ed1950f&amp;amp;field:PointID={PointID}&amp;amp;field:FieldEvalDate={EvaluationDate}&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;EvaluationDate is just a regular date field&lt;/P&gt;&lt;P&gt;&lt;IMG __jive_id="512135" class="image-1 jive-image" src="https://community.esri.com/legacyfs/online/512135_pastedImage_72.png" /&gt;&lt;/P&gt;&lt;P&gt;FieldEvalDate is a dateTime in the form&lt;/P&gt;&lt;P&gt;&lt;IMG __jive_id="512136" class="image-2 jive-image" src="https://community.esri.com/legacyfs/online/512136_pastedImage_73.png" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Popup has today's date&lt;/P&gt;&lt;P&gt;&lt;IMG __jive_id="512137" class="image-3 jive-image" src="https://community.esri.com/legacyfs/online/512137_pastedImage_74.png" /&gt;&lt;/P&gt;&lt;P&gt;Date gets to 123 as 1969&lt;/P&gt;&lt;P&gt;&lt;IMG __jive_id="512141" class="jive-image image-4" src="https://community.esri.com/legacyfs/online/512141_pastedImage_75.png" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;What am I missing here?&amp;nbsp; I tried all sorts of variations.&amp;nbsp; With time, without, all the options in the popup, etc.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I really just want to send the date and no time but that can get funky with timezones.&amp;nbsp; Anything at this point would be great.&amp;nbsp; I dug through the service settings and nothing about timezone that I can see.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I then tried an Arcade to create a text string of just the date and sent that over.&amp;nbsp; It takes that and timezones it (i guess) back to 6:00pm the day before.&amp;nbsp; I wish we could just send a static date and stop this timezone stuff.&amp;nbsp; It is a nationwide layer.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am totally stuck.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for any help&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 30 Oct 2020 14:20:33 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-survey123-questions/passing-date-to-web-vs-app-is-different/m-p/833644#M19029</guid>
      <dc:creator>DougBrowning</dc:creator>
      <dc:date>2020-10-30T14:20:33Z</dc:date>
    </item>
  </channel>
</rss>

