<?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 Time zone resetting to UTC when doing an overwrite of a hosted table. in ArcGIS Online Questions</title>
    <link>https://community.esri.com/t5/arcgis-online-questions/time-zone-resetting-to-utc-when-doing-an-overwrite/m-p/709195#M35139</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;When uploading a spreadsheet to a hosted table, the initial load lets you choose a timezone (in my case US Central Time).&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;When performing an Update -&amp;gt; choosing the Overwrite&amp;nbsp;Entire Layer option, the time zone reverts to UTC.&amp;nbsp; This causes all dates to shift by one day (in my case since I'm US Central).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is there any way to overwrite the time zone after the hosted table is created?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Jason&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 20 May 2020 15:53:00 GMT</pubDate>
    <dc:creator>JasonSheldon</dc:creator>
    <dc:date>2020-05-20T15:53:00Z</dc:date>
    <item>
      <title>Time zone resetting to UTC when doing an overwrite of a hosted table.</title>
      <link>https://community.esri.com/t5/arcgis-online-questions/time-zone-resetting-to-utc-when-doing-an-overwrite/m-p/709195#M35139</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;When uploading a spreadsheet to a hosted table, the initial load lets you choose a timezone (in my case US Central Time).&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;When performing an Update -&amp;gt; choosing the Overwrite&amp;nbsp;Entire Layer option, the time zone reverts to UTC.&amp;nbsp; This causes all dates to shift by one day (in my case since I'm US Central).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is there any way to overwrite the time zone after the hosted table is created?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Jason&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 20 May 2020 15:53:00 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-online-questions/time-zone-resetting-to-utc-when-doing-an-overwrite/m-p/709195#M35139</guid>
      <dc:creator>JasonSheldon</dc:creator>
      <dc:date>2020-05-20T15:53:00Z</dc:date>
    </item>
    <item>
      <title>Re: Time zone resetting to UTC when doing an overwrite of a hosted table.</title>
      <link>https://community.esri.com/t5/arcgis-online-questions/time-zone-resetting-to-utc-when-doing-an-overwrite/m-p/709196#M35140</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi &lt;A href="https://community.esri.com/migrated-users/6104" target="_blank"&gt;Jason Sheldon&lt;/A&gt;‌,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for the post. We have received a couple reports of this in Esri Support and have recently logged a usability issue for it. ArcGIS Online will always store dates in UTC 0 and calculates the offset when the time zone box is checked so that the dates display in local time (your browser converts the date from UTC to local for display). Of course when overwriting/appending that time zone box isn't there, which is what we're looking at.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I think the best option is to convert the time from local to UTC in the spreadsheet beforehand. For example since you are Central Time (UTC -5 in Daylight Savings), if you have 5/22/2020 6:00 p.m. in the spreadsheet convert it to 5/22/2020 11:00 p.m. before upload. There are multiple options for this workflow in Excel.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you have ArcGIS Pro, you can calculate the field using an Arcade Expression:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;&lt;CODE&gt;&lt;SPAN class="keyword token"&gt;var&lt;/SPAN&gt; startDate &lt;SPAN class="operator token"&gt;=&lt;/SPAN&gt; &lt;SPAN class="punctuation token"&gt;(&lt;/SPAN&gt;$feature&lt;SPAN class="punctuation token"&gt;.&lt;/SPAN&gt;date_field&lt;SPAN class="punctuation token"&gt;)&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;;&lt;/SPAN&gt;
&lt;SPAN class="keyword token"&gt;var&lt;/SPAN&gt; newDate &lt;SPAN class="operator token"&gt;=&lt;/SPAN&gt; &lt;SPAN class="token function"&gt;dateAdd&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;(&lt;/SPAN&gt;StartDate&lt;SPAN class="punctuation token"&gt;,&lt;/SPAN&gt; &lt;SPAN class="number token"&gt;5&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;,&lt;/SPAN&gt; &lt;SPAN class="string token"&gt;'hours'&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;)&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;;&lt;/SPAN&gt;
&lt;SPAN class="keyword token"&gt;return&lt;/SPAN&gt; newDate&lt;SPAN class="line-numbers-rows"&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this helps - please send me a direct message or email &lt;A href="mailto:pklingman@esri.com" rel="nofollow noopener noreferrer" target="_blank"&gt;pklingman@esri.com&lt;/A&gt;&amp;nbsp;with your customer number and I can help get a support case going or attach your customer number to the issue.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;-Peter&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 12 Dec 2021 05:47:11 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-online-questions/time-zone-resetting-to-utc-when-doing-an-overwrite/m-p/709196#M35140</guid>
      <dc:creator>Anonymous User</dc:creator>
      <dc:date>2021-12-12T05:47:11Z</dc:date>
    </item>
    <item>
      <title>Re: Time zone resetting to UTC when doing an overwrite of a hosted table.</title>
      <link>https://community.esri.com/t5/arcgis-online-questions/time-zone-resetting-to-utc-when-doing-an-overwrite/m-p/709197#M35141</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi&amp;nbsp;&lt;A href="https://community.esri.com/migrated-users/6104"&gt;Jason Sheldon&lt;/A&gt;‌,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I assume that you are using an Excel file to overwrite your hosted table. Try using a CSV file and see if AGOL maintains the selected timezone.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;All the best,&lt;/P&gt;&lt;P&gt;MJ&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 28 Aug 2020 18:20:15 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-online-questions/time-zone-resetting-to-utc-when-doing-an-overwrite/m-p/709197#M35141</guid>
      <dc:creator>MJBiazar</dc:creator>
      <dc:date>2020-08-28T18:20:15Z</dc:date>
    </item>
  </channel>
</rss>

