<?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 ArcGIS Featureservice layer and Dates in ArcGIS REST APIs and Services Questions</title>
    <link>https://community.esri.com/t5/arcgis-rest-apis-and-services-questions/arcgis-featureservice-layer-and-dates/m-p/516654#M2463</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I am trying to add data to ArcSDE (10.01 installed on MS SQL 2008R2) using arcgis server feature service layer. I am not using ESRI's APIs. I tried to add dates but its not working...Date in sql is of field type "datetime2(7)" which i can not change to other fields.. It only take numbers like "03102012" but in database it changes to a strange date....&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;any help in this regard...&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 05 Oct 2011 23:43:16 GMT</pubDate>
    <dc:creator>ZahidChaudhry</dc:creator>
    <dc:date>2011-10-05T23:43:16Z</dc:date>
    <item>
      <title>ArcGIS Featureservice layer and Dates</title>
      <link>https://community.esri.com/t5/arcgis-rest-apis-and-services-questions/arcgis-featureservice-layer-and-dates/m-p/516654#M2463</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I am trying to add data to ArcSDE (10.01 installed on MS SQL 2008R2) using arcgis server feature service layer. I am not using ESRI's APIs. I tried to add dates but its not working...Date in sql is of field type "datetime2(7)" which i can not change to other fields.. It only take numbers like "03102012" but in database it changes to a strange date....&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;any help in this regard...&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 05 Oct 2011 23:43:16 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-rest-apis-and-services-questions/arcgis-featureservice-layer-and-dates/m-p/516654#M2463</guid>
      <dc:creator>ZahidChaudhry</dc:creator>
      <dc:date>2011-10-05T23:43:16Z</dc:date>
    </item>
    <item>
      <title>Re: ArcGIS Featureservice layer and Dates</title>
      <link>https://community.esri.com/t5/arcgis-rest-apis-and-services-questions/arcgis-featureservice-layer-and-dates/m-p/516655#M2464</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I believe this field type requires a timestamp similar to the unix timestamp. So 03102012 would be a very early date. 03102012 = 2/5/1970 9:40:12 PM UTC. So 10/10/2011 12:00:00 AM UTC would be: 1318204800.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Read Here:&lt;/SPAN&gt;&lt;BR /&gt;&lt;A href="http://help.arcgis.com/en/arcgisserver/10.0/apis/rest/feature.html"&gt;http://help.arcgis.com/en/arcgisserver/10.0/apis/rest/feature.html&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;"Note that date values are encoded as numbers. The number represents the number of milliseconds since epoch (January 1, 1970) in UTC." &lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Which Unix timestamp is the number of seconds since epoch. Seems you can use the Unix timestamp if you only need to the second accuracy.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;What programming language are you using?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 10 Oct 2011 13:04:42 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-rest-apis-and-services-questions/arcgis-featureservice-layer-and-dates/m-p/516655#M2464</guid>
      <dc:creator>RobChouinard</dc:creator>
      <dc:date>2011-10-10T13:04:42Z</dc:date>
    </item>
  </channel>
</rss>

