<?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 FeatureSet SDF method converts datetimes correctly only sometimes, why? in ArcGIS API for Python Questions</title>
    <link>https://community.esri.com/t5/arcgis-api-for-python-questions/featureset-sdf-method-converts-datetimes-correctly/m-p/882237#M5165</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I don't believe there is any mention of this in the documentation, but it seems that the .&lt;A href="https://developers.arcgis.com/python/api-reference/arcgis.features.toc.html?highlight=query#featureset"&gt;.sdf property&lt;/A&gt;&amp;nbsp;for a FeatureSet&amp;nbsp;&lt;/P&gt;&lt;P&gt;converts timestamps to datetime64, which is great and saves me some work...except that for some reason it doesn't work properly if I try and query every feature in a layer then convert to an sdf.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For Example:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG __jive_id="501066" alt="" class="jive-emoji image-1 jive-image j-img-original" src="https://community.esri.com/legacyfs/online/501066_wtf.PNG" /&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You can see here that first I try and query an entire layer (dpd) and then convert to an sdf, that date is wrong, it should be 1847-02-11 (this is a special date my office uses for something). The next cell shows me specifying that same feature beforehand within the query on the FeatureLayer, then I convert to sdf...somehow it's correctly converted.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This is no big deal, I know this functionality is new and it's not that much trouble to just convert the timestamps on the FeatureSet myself...curious though on why this might be?&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 22 Jul 2020 22:01:28 GMT</pubDate>
    <dc:creator>CarlVricella</dc:creator>
    <dc:date>2020-07-22T22:01:28Z</dc:date>
    <item>
      <title>FeatureSet SDF method converts datetimes correctly only sometimes, why?</title>
      <link>https://community.esri.com/t5/arcgis-api-for-python-questions/featureset-sdf-method-converts-datetimes-correctly/m-p/882237#M5165</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I don't believe there is any mention of this in the documentation, but it seems that the .&lt;A href="https://developers.arcgis.com/python/api-reference/arcgis.features.toc.html?highlight=query#featureset"&gt;.sdf property&lt;/A&gt;&amp;nbsp;for a FeatureSet&amp;nbsp;&lt;/P&gt;&lt;P&gt;converts timestamps to datetime64, which is great and saves me some work...except that for some reason it doesn't work properly if I try and query every feature in a layer then convert to an sdf.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For Example:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG __jive_id="501066" alt="" class="jive-emoji image-1 jive-image j-img-original" src="https://community.esri.com/legacyfs/online/501066_wtf.PNG" /&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You can see here that first I try and query an entire layer (dpd) and then convert to an sdf, that date is wrong, it should be 1847-02-11 (this is a special date my office uses for something). The next cell shows me specifying that same feature beforehand within the query on the FeatureLayer, then I convert to sdf...somehow it's correctly converted.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This is no big deal, I know this functionality is new and it's not that much trouble to just convert the timestamps on the FeatureSet myself...curious though on why this might be?&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 22 Jul 2020 22:01:28 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-python-questions/featureset-sdf-method-converts-datetimes-correctly/m-p/882237#M5165</guid>
      <dc:creator>CarlVricella</dc:creator>
      <dc:date>2020-07-22T22:01:28Z</dc:date>
    </item>
  </channel>
</rss>

