<?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 Different calculated time on desktop and server in Attribute Rules Questions</title>
    <link>https://community.esri.com/t5/attribute-rules-questions/different-calculated-time-on-desktop-and-server/m-p/1590877#M1688</link>
    <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;I have an attribute rule set to return Date(3000, 0, 1). When the rule runs on the desktop, it correctly returns 3000/01/01. However, when the rule runs through ArcGIS Server, it returns 2999/12/31.&lt;/P&gt;&lt;P&gt;How can I ensure that it always returns 3000/01/01? We are using AGS 10.9.1 and MS SQL.&lt;BR /&gt;&lt;BR /&gt;Thanks.&lt;/P&gt;</description>
    <pubDate>Fri, 28 Feb 2025 19:06:43 GMT</pubDate>
    <dc:creator>KamilNovák</dc:creator>
    <dc:date>2025-02-28T19:06:43Z</dc:date>
    <item>
      <title>Different calculated time on desktop and server</title>
      <link>https://community.esri.com/t5/attribute-rules-questions/different-calculated-time-on-desktop-and-server/m-p/1590877#M1688</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;I have an attribute rule set to return Date(3000, 0, 1). When the rule runs on the desktop, it correctly returns 3000/01/01. However, when the rule runs through ArcGIS Server, it returns 2999/12/31.&lt;/P&gt;&lt;P&gt;How can I ensure that it always returns 3000/01/01? We are using AGS 10.9.1 and MS SQL.&lt;BR /&gt;&lt;BR /&gt;Thanks.&lt;/P&gt;</description>
      <pubDate>Fri, 28 Feb 2025 19:06:43 GMT</pubDate>
      <guid>https://community.esri.com/t5/attribute-rules-questions/different-calculated-time-on-desktop-and-server/m-p/1590877#M1688</guid>
      <dc:creator>KamilNovák</dc:creator>
      <dc:date>2025-02-28T19:06:43Z</dc:date>
    </item>
    <item>
      <title>Re: Different calculated time on desktop and server</title>
      <link>https://community.esri.com/t5/attribute-rules-questions/different-calculated-time-on-desktop-and-server/m-p/1591147#M1689</link>
      <description>&lt;P&gt;Ok, I was able to resolve this with this exact code:&lt;/P&gt;&lt;LI-CODE lang="javascript"&gt;ToUTC(Date("3000-01-01T00:00:00+00:00"))&lt;/LI-CODE&gt;</description>
      <pubDate>Mon, 03 Mar 2025 08:26:52 GMT</pubDate>
      <guid>https://community.esri.com/t5/attribute-rules-questions/different-calculated-time-on-desktop-and-server/m-p/1591147#M1689</guid>
      <dc:creator>KamilNovák</dc:creator>
      <dc:date>2025-03-03T08:26:52Z</dc:date>
    </item>
  </channel>
</rss>

