<?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: Time in offline replica in .NET Maps SDK Questions</title>
    <link>https://community.esri.com/t5/net-maps-sdk-questions/time-in-offline-replica/m-p/84687#M895</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;...btw an informed guess is that it's likely a unix epoch of sorts.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 15 Apr 2020 00:01:26 GMT</pubDate>
    <dc:creator>dotMorten_esri</dc:creator>
    <dc:date>2020-04-15T00:01:26Z</dc:date>
    <item>
      <title>Time in offline replica</title>
      <link>https://community.esri.com/t5/net-maps-sdk-questions/time-in-offline-replica/m-p/84683#M891</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I see in the offline replica time is stored as a double.&amp;nbsp; But I cannot figure out how this number is determined.&amp;nbsp; I would have assumed it was unix time, but it is not.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Follow-up to that is how could one query a replica using a date.&amp;nbsp; I want something like:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;date component of &lt;EM&gt;datefield&lt;/EM&gt; is April 14 2020.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Right now the only thing I can see if to return all the rows and filter, obviously not the approach I would like to take.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;-Joe&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 14 Apr 2020 21:00:02 GMT</pubDate>
      <guid>https://community.esri.com/t5/net-maps-sdk-questions/time-in-offline-replica/m-p/84683#M891</guid>
      <dc:creator>JoeHershman</dc:creator>
      <dc:date>2020-04-14T21:00:02Z</dc:date>
    </item>
    <item>
      <title>Re: Time in offline replica</title>
      <link>https://community.esri.com/t5/net-maps-sdk-questions/time-in-offline-replica/m-p/84684#M892</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Which API are you seeing that we return a double instead of a date/time?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 14 Apr 2020 23:51:11 GMT</pubDate>
      <guid>https://community.esri.com/t5/net-maps-sdk-questions/time-in-offline-replica/m-p/84684#M892</guid>
      <dc:creator>dotMorten_esri</dc:creator>
      <dc:date>2020-04-14T23:51:11Z</dc:date>
    </item>
    <item>
      <title>Re: Time in offline replica</title>
      <link>https://community.esri.com/t5/net-maps-sdk-questions/time-in-offline-replica/m-p/84685#M893</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I'm just looking at the database to see how it is stored.&amp;nbsp; My goal is to make a query like I described.&amp;nbsp; So my real question is about doing that.&amp;nbsp; &amp;nbsp;In trying to set that up I looked at the database to see that it is stored within the replica as a double.&amp;nbsp; Thinking if I could figure out how that is derived I may be able to do the query I would like.&amp;nbsp; Right now I am stuck with returning all the records and then checking dates.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 14 Apr 2020 23:58:03 GMT</pubDate>
      <guid>https://community.esri.com/t5/net-maps-sdk-questions/time-in-offline-replica/m-p/84685#M893</guid>
      <dc:creator>JoeHershman</dc:creator>
      <dc:date>2020-04-14T23:58:03Z</dc:date>
    </item>
    <item>
      <title>Re: Time in offline replica</title>
      <link>https://community.esri.com/t5/net-maps-sdk-questions/time-in-offline-replica/m-p/84686#M894</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The database schema is afaik not documented, and subject to change at any time.&lt;/P&gt;&lt;P&gt;Are we missing an API you need, so you don't have to do that? If so, could you describe the scenario/user-story so we can add something to our backlog.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 14 Apr 2020 23:59:58 GMT</pubDate>
      <guid>https://community.esri.com/t5/net-maps-sdk-questions/time-in-offline-replica/m-p/84686#M894</guid>
      <dc:creator>dotMorten_esri</dc:creator>
      <dc:date>2020-04-14T23:59:58Z</dc:date>
    </item>
    <item>
      <title>Re: Time in offline replica</title>
      <link>https://community.esri.com/t5/net-maps-sdk-questions/time-in-offline-replica/m-p/84687#M895</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;...btw an informed guess is that it's likely a unix epoch of sorts.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Apr 2020 00:01:26 GMT</pubDate>
      <guid>https://community.esri.com/t5/net-maps-sdk-questions/time-in-offline-replica/m-p/84687#M895</guid>
      <dc:creator>dotMorten_esri</dc:creator>
      <dc:date>2020-04-15T00:01:26Z</dc:date>
    </item>
    <item>
      <title>Re: Time in offline replica</title>
      <link>https://community.esri.com/t5/net-maps-sdk-questions/time-in-offline-replica/m-p/84688#M896</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;What I want to do is run a query on the created date field.&amp;nbsp; In our specific case we want to know if any records with a specific attribute have been created that day.&amp;nbsp; Something like...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;"Where CONTRACTOR = '{name}' AND CREATED_DATE = '04/14/2020'"&amp;nbsp; I believe in a feature service I could do something like:&lt;/P&gt;&lt;P&gt;"Where CONTRACTOR = '{name}' and CREATED_DATE = DATE '04/14/2020'"&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;According to:&lt;/P&gt;&lt;P&gt;&lt;A class="link-titled" href="https://www.esri.com/arcgis-blog/products/api-rest/data-management/querying-feature-services-date-time-queries/" title="https://www.esri.com/arcgis-blog/products/api-rest/data-management/querying-feature-services-date-time-queries/"&gt;Querying Feature Services: Date-Time Queries&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But don't seem to be able to get something like this working with a replica (and I have not tested this against a feature service to know if it would really work)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;-Joe&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Apr 2020 14:47:02 GMT</pubDate>
      <guid>https://community.esri.com/t5/net-maps-sdk-questions/time-in-offline-replica/m-p/84688#M896</guid>
      <dc:creator>JoeHershman</dc:creator>
      <dc:date>2020-04-15T14:47:02Z</dc:date>
    </item>
    <item>
      <title>Re: Time in offline replica</title>
      <link>https://community.esri.com/t5/net-maps-sdk-questions/time-in-offline-replica/m-p/1010156#M9628</link>
      <description>&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The date is in "Julian" format.&amp;nbsp; Basically, the whole number portion is the day and the decimal portion is the time.&lt;/P&gt;&lt;P&gt;&lt;A href="https://www.onlineconversion.com/julian_date.htm" target="_blank"&gt;https://www.onlineconversion.com/julian_date.htm&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;c# conversion hints at this site:&lt;/P&gt;&lt;P&gt;&lt;A href="https://stackoverflow.com/questions/5248827/convert-datetime-to-julian-date-in-c-sharp-tooadate-safe" target="_blank"&gt;https://stackoverflow.com/questions/5248827/convert-datetime-to-julian-date-in-c-sharp-tooadate-safe&lt;/A&gt;&lt;/P&gt;&lt;P&gt;MortenNielsen, this data is frequently used outside of the ESRI platform as the SDK is severely lacking in so many features.&amp;nbsp; One most painfully obvious is the ability to work with relational data, something that just eludes the ESRI programmers ability.&amp;nbsp;&lt;/P&gt;&lt;P&gt;Reporting and dashboards is another use of the raw data.&amp;nbsp; Not necessary for functionality to be built into the SDK, but the ability is there with 3rd party tools.&lt;/P&gt;</description>
      <pubDate>Wed, 16 Dec 2020 15:04:13 GMT</pubDate>
      <guid>https://community.esri.com/t5/net-maps-sdk-questions/time-in-offline-replica/m-p/1010156#M9628</guid>
      <dc:creator>DwayneKuykendall</dc:creator>
      <dc:date>2020-12-16T15:04:13Z</dc:date>
    </item>
    <item>
      <title>Re: Time in offline replica</title>
      <link>https://community.esri.com/t5/net-maps-sdk-questions/time-in-offline-replica/m-p/1109968#M10551</link>
      <description>&lt;P&gt;A year in a half later, still have never figured out a way to query a date field using Runtime API&lt;/P&gt;</description>
      <pubDate>Thu, 21 Oct 2021 20:52:05 GMT</pubDate>
      <guid>https://community.esri.com/t5/net-maps-sdk-questions/time-in-offline-replica/m-p/1109968#M10551</guid>
      <dc:creator>JoeHershman</dc:creator>
      <dc:date>2021-10-21T20:52:05Z</dc:date>
    </item>
  </channel>
</rss>

