<?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: Converting numeric time values into date format in ArcGIS Pro Questions</title>
    <link>https://community.esri.com/t5/arcgis-pro-questions/converting-numeric-time-values-into-date-format/m-p/329190#M14375</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;That is correct in that the excel table I'm working from has missing values for various rows. However, it would be quite tedious to sort through all 80,000 and something samples ha! I wonder of there's an excel function to weed these out...&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 17 Dec 2019 21:56:14 GMT</pubDate>
    <dc:creator>AustinReeves</dc:creator>
    <dc:date>2019-12-17T21:56:14Z</dc:date>
    <item>
      <title>Converting numeric time values into date format</title>
      <link>https://community.esri.com/t5/arcgis-pro-questions/converting-numeric-time-values-into-date-format/m-p/329182#M14367</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have run into a little problem regarding the formatting of dates within a ArcPro table. First off, the table is originally a .xlsx and has been converted using the "excel to table" tool. The original excel table has a date field with values in the format of "12/23/1998 14:40" and has upon using the tool, has been converted into the 5-digit numeric date scheme. These numeric dates have decimals i.e. "26507.6875" and is due to what I assume to be the time of day. I have found this thread&amp;nbsp;&lt;A href="https://community.esri.com/thread/231594"&gt;Date field in Excel to Table tool&lt;/A&gt; , but upon trying the code I get the standard "999999" message (unexpected error). Any other suggestions on how I can get the dates back to the regular format? Thanks!&lt;/P&gt;&lt;P&gt;-Austin&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 17 Dec 2019 03:20:22 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-questions/converting-numeric-time-values-into-date-format/m-p/329182#M14367</guid>
      <dc:creator>AustinReeves</dc:creator>
      <dc:date>2019-12-17T03:20:22Z</dc:date>
    </item>
    <item>
      <title>Re: Converting numeric time values into date format</title>
      <link>https://community.esri.com/t5/arcgis-pro-questions/converting-numeric-time-values-into-date-format/m-p/329183#M14368</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You should probably show your expression, especially to check on how you truncated your time from the string since the example in your thread was for dates, not datetime&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 17 Dec 2019 11:52:28 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-questions/converting-numeric-time-values-into-date-format/m-p/329183#M14368</guid>
      <dc:creator>DanPatterson_Retired</dc:creator>
      <dc:date>2019-12-17T11:52:28Z</dc:date>
    </item>
    <item>
      <title>Re: Converting numeric time values into date format</title>
      <link>https://community.esri.com/t5/arcgis-pro-questions/converting-numeric-time-values-into-date-format/m-p/329184#M14369</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;What Dan said. In the thread you reference I apply int() to a string. Is your 'decimal day' numeric or string?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 17 Dec 2019 13:42:39 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-questions/converting-numeric-time-values-into-date-format/m-p/329184#M14369</guid>
      <dc:creator>JoeBorgione</dc:creator>
      <dc:date>2019-12-17T13:42:39Z</dc:date>
    </item>
    <item>
      <title>Re: Converting numeric time values into date format</title>
      <link>https://community.esri.com/t5/arcgis-pro-questions/converting-numeric-time-values-into-date-format/m-p/329185#M14370</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The expression I used was: &lt;SPAN style="display: inline !important; float: none; background-color: #ffffff; color: #2f2f2f; font-family: inherit; font-size: 100%; font-style: inherit; font-variant: normal; font-weight: inherit; letter-spacing: normal; orphans: 2; text-align: left; text-decoration: none; text-indent: 0px; text-transform: none; -webkit-text-stroke-width: 0px; white-space: normal; word-spacing: 0px;"&gt;datetime.datetime(1899,12,30) + datetime.timedelta(days = int(!Sample_Date_Time!))&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="display: inline !important; float: none; background-color: #ffffff; color: #2f2f2f; font-family: inherit; font-size: 100%; font-style: inherit; font-variant: normal; font-weight: inherit; letter-spacing: normal; orphans: 2; text-align: left; text-decoration: none; text-indent: 0px; text-transform: none; -webkit-text-stroke-width: 0px; white-space: normal; word-spacing: 0px;"&gt;My field containing the dates is the "Sample_Date_Time" and the rest was derived from that thread I linked. I'm not too familiar with python yet so would not be too sure where or what to change about this code.&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 17 Dec 2019 20:56:17 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-questions/converting-numeric-time-values-into-date-format/m-p/329185#M14370</guid>
      <dc:creator>AustinReeves</dc:creator>
      <dc:date>2019-12-17T20:56:17Z</dc:date>
    </item>
    <item>
      <title>Re: Converting numeric time values into date format</title>
      <link>https://community.esri.com/t5/arcgis-pro-questions/converting-numeric-time-values-into-date-format/m-p/329186#M14371</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;By 'decimal day' you are referring to the format that is being created in the ArcPro table (&lt;SPAN style="display: inline !important; float: none; background-color: #ffffff; color: #3d3d3d; font-family: inherit; font-size: 100%; font-style: inherit; font-variant: normal; font-weight: inherit; letter-spacing: normal; orphans: 2; overflow-wrap: break-word; text-align: left; text-decoration: none; text-indent: 0px; text-transform: none; -webkit-text-stroke-width: 0px; white-space: normal; word-spacing: 0px;"&gt;26507.6875&lt;/SPAN&gt;) correct? I would assume this is a string as it contains decimals.&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 17 Dec 2019 20:58:59 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-questions/converting-numeric-time-values-into-date-format/m-p/329186#M14371</guid>
      <dc:creator>AustinReeves</dc:creator>
      <dc:date>2019-12-17T20:58:59Z</dc:date>
    </item>
    <item>
      <title>Re: Converting numeric time values into date format</title>
      <link>https://community.esri.com/t5/arcgis-pro-questions/converting-numeric-time-values-into-date-format/m-p/329187#M14372</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="background-color: #ffffff;"&gt;26507.6875 could be&amp;nbsp; string; could be a float; could be a double.....&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 17 Dec 2019 21:35:45 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-questions/converting-numeric-time-values-into-date-format/m-p/329187#M14372</guid>
      <dc:creator>JoeBorgione</dc:creator>
      <dc:date>2019-12-17T21:35:45Z</dc:date>
    </item>
    <item>
      <title>Re: Converting numeric time values into date format</title>
      <link>https://community.esri.com/t5/arcgis-pro-questions/converting-numeric-time-values-into-date-format/m-p/329188#M14373</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Alright, I have looked in the fields editor and it is listed as a text data type, with the number format as numeric. This is what the original date format is being converted to via the "excel to table" tool. Thanks again for the help!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 17 Dec 2019 21:44:17 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-questions/converting-numeric-time-values-into-date-format/m-p/329188#M14373</guid>
      <dc:creator>AustinReeves</dc:creator>
      <dc:date>2019-12-17T21:44:17Z</dc:date>
    </item>
    <item>
      <title>Re: Converting numeric time values into date format</title>
      <link>https://community.esri.com/t5/arcgis-pro-questions/converting-numeric-time-values-into-date-format/m-p/329189#M14374</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;As I recall, when the excel table runs in an excel date field, as long as all of the fields have values it will bring them over as date fields. But... if any of those excel fields are empty, it converts the whole lot of them into the Microsoft date index and types the field as text.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 17 Dec 2019 21:52:26 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-questions/converting-numeric-time-values-into-date-format/m-p/329189#M14374</guid>
      <dc:creator>JoeBorgione</dc:creator>
      <dc:date>2019-12-17T21:52:26Z</dc:date>
    </item>
    <item>
      <title>Re: Converting numeric time values into date format</title>
      <link>https://community.esri.com/t5/arcgis-pro-questions/converting-numeric-time-values-into-date-format/m-p/329190#M14375</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;That is correct in that the excel table I'm working from has missing values for various rows. However, it would be quite tedious to sort through all 80,000 and something samples ha! I wonder of there's an excel function to weed these out...&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 17 Dec 2019 21:56:14 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-questions/converting-numeric-time-values-into-date-format/m-p/329190#M14375</guid>
      <dc:creator>AustinReeves</dc:creator>
      <dc:date>2019-12-17T21:56:14Z</dc:date>
    </item>
    <item>
      <title>Re: Converting numeric time values into date format</title>
      <link>https://community.esri.com/t5/arcgis-pro-questions/converting-numeric-time-values-into-date-format/m-p/329191#M14376</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Have now filtered out all blanks and will see how this new table converts to ArcPro!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 17 Dec 2019 22:00:44 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-questions/converting-numeric-time-values-into-date-format/m-p/329191#M14376</guid>
      <dc:creator>AustinReeves</dc:creator>
      <dc:date>2019-12-17T22:00:44Z</dc:date>
    </item>
    <item>
      <title>Re: Converting numeric time values into date format</title>
      <link>https://community.esri.com/t5/arcgis-pro-questions/converting-numeric-time-values-into-date-format/m-p/329192#M14377</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I get what you're saying; I was converting a couple thousand records and more or less stumbled on this particular 'un-documented feature'.&amp;nbsp; It's also when I first learned of the Microsoft date indexes described in my other thread you reference above.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 17 Dec 2019 22:25:49 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-questions/converting-numeric-time-values-into-date-format/m-p/329192#M14377</guid>
      <dc:creator>JoeBorgione</dc:creator>
      <dc:date>2019-12-17T22:25:49Z</dc:date>
    </item>
    <item>
      <title>Re: Converting numeric time values into date format</title>
      <link>https://community.esri.com/t5/arcgis-pro-questions/converting-numeric-time-values-into-date-format/m-p/329193#M14378</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;from&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A class="link-titled" href="https://pro.arcgis.com/en/pro-app/help/data/excel/work-with-excel-in-arcgis-pro.htm" title="https://pro.arcgis.com/en/pro-app/help/data/excel/work-with-excel-in-arcgis-pro.htm"&gt;Work with Microsoft Excel files in ArcGIS Pro—Excel | ArcGIS Desktop&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;BLOCKQUOTE class="jive_macro_quote jive-quote jive_text_macro"&gt;&lt;P&gt;&lt;SPAN style="color: #4c4c4c; background-color: #ffffff;"&gt;If you have cells with numeric data, dates, and so on, ensure that the content is consistently formatted—in other words, make sure all numeric data is actually numeric. If there are other types of data in those rows, the field is converted to text when the table is opened in&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN class="" style="color: #4c4c4c; background-color: #ffffff;"&gt;ArcGIS Pro&lt;/SPAN&gt;&lt;SPAN style="color: #4c4c4c; background-color: #ffffff;"&gt;.&lt;/SPAN&gt;&lt;/P&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;They fail to mention that "blanks" can break the "consistently" rule.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;No cell should go empty!!&amp;nbsp; There should be a huge warning flash onscreen when blanks are encountered&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you are working in Pro tables from scratch....&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.esri.com/blogs/dan_patterson/2019/11/28/the-solution-to-null-in-tables"&gt;/blogs/dan_patterson/2019/11/28/the-solution-to-null-in-tables&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Or know some python&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.esri.com/blogs/dan_patterson/2018/12/13/excel-arrays-tables-in-arcgis-pro"&gt;/blogs/dan_patterson/2018/12/13/excel-arrays-tables-in-arcgis-pro&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 17 Dec 2019 22:48:13 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-questions/converting-numeric-time-values-into-date-format/m-p/329193#M14378</guid>
      <dc:creator>DanPatterson_Retired</dc:creator>
      <dc:date>2019-12-17T22:48:13Z</dc:date>
    </item>
    <item>
      <title>Re: Converting numeric time values into date format</title>
      <link>https://community.esri.com/t5/arcgis-pro-questions/converting-numeric-time-values-into-date-format/m-p/329194#M14379</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I love this :&amp;nbsp;&lt;EM&gt;&lt;STRONG style="background-color: #ffffff; "&gt;No cell should go empty!!&amp;nbsp;&lt;/STRONG&gt;&lt;/EM&gt;&lt;STRONG style="background-color: #ffffff; "&gt;&amp;nbsp;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="background-color: #ffffff;"&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="background-color: #ffffff;"&gt;Couldn't agree more, but we know what reality gives us!&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 17 Dec 2019 22:53:21 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-questions/converting-numeric-time-values-into-date-format/m-p/329194#M14379</guid>
      <dc:creator>JoeBorgione</dc:creator>
      <dc:date>2019-12-17T22:53:21Z</dc:date>
    </item>
    <item>
      <title>Re: Converting numeric time values into date format</title>
      <link>https://community.esri.com/t5/arcgis-pro-questions/converting-numeric-time-values-into-date-format/m-p/329195#M14380</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;A href="https://community.esri.com/migrated-users/3116"&gt;Dan Patterson&lt;/A&gt; and &lt;A href="https://community.esri.com/migrated-users/4422"&gt;Joe Borgione&lt;/A&gt;, I got the new excel worksheet created with no blanks (plus the date range I'm interested in), and it transferred over to ArcPro with no issues! Wanted to say thanks again, as I wouldn't have known where to go without both of your guys' input!&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;-Austin‌&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 18 Dec 2019 02:49:34 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-questions/converting-numeric-time-values-into-date-format/m-p/329195#M14380</guid>
      <dc:creator>AustinReeves</dc:creator>
      <dc:date>2019-12-18T02:49:34Z</dc:date>
    </item>
  </channel>
</rss>

