<?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: Attribute Assistant - Timestamp question in Water Utilities Questions</title>
    <link>https://community.esri.com/t5/water-utilities-questions/attribute-assistant-timestamp-question/m-p/386160#M794</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Tim-&amp;nbsp; after spending a little time with google I notice that t or T is often used to designate PM, but in a 24 hour clock, do you need to specify that?&amp;nbsp; (2017-02-20&lt;STRONG&gt;T&lt;/STRONG&gt;23:16:45.7)&amp;nbsp; Tenths of a second seems pretty extreme;&amp;nbsp; I haven't found a format for that yet.....&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.esri.com/people/timw1984"&gt;timw1984&lt;/A&gt;‌&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 06 Feb 2017 21:09:31 GMT</pubDate>
    <dc:creator>JoeBorgione</dc:creator>
    <dc:date>2017-02-06T21:09:31Z</dc:date>
    <item>
      <title>Attribute Assistant - Timestamp question</title>
      <link>https://community.esri.com/t5/water-utilities-questions/attribute-assistant-timestamp-question/m-p/386159#M793</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hey everybody,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am trying to get my timestamp in a certain format: YYYY-MM-DDThh:mm:ss.s but I am not able to do it.&lt;/P&gt;&lt;P&gt;As an example it needs to look like this: 2017-02-20T23:16:45.7&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is this even possible? If so, what would be the expression I need?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Tim&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 06 Feb 2017 17:51:43 GMT</pubDate>
      <guid>https://community.esri.com/t5/water-utilities-questions/attribute-assistant-timestamp-question/m-p/386159#M793</guid>
      <dc:creator>TimWitt2</dc:creator>
      <dc:date>2017-02-06T17:51:43Z</dc:date>
    </item>
    <item>
      <title>Re: Attribute Assistant - Timestamp question</title>
      <link>https://community.esri.com/t5/water-utilities-questions/attribute-assistant-timestamp-question/m-p/386160#M794</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Tim-&amp;nbsp; after spending a little time with google I notice that t or T is often used to designate PM, but in a 24 hour clock, do you need to specify that?&amp;nbsp; (2017-02-20&lt;STRONG&gt;T&lt;/STRONG&gt;23:16:45.7)&amp;nbsp; Tenths of a second seems pretty extreme;&amp;nbsp; I haven't found a format for that yet.....&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.esri.com/people/timw1984"&gt;timw1984&lt;/A&gt;‌&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 06 Feb 2017 21:09:31 GMT</pubDate>
      <guid>https://community.esri.com/t5/water-utilities-questions/attribute-assistant-timestamp-question/m-p/386160#M794</guid>
      <dc:creator>JoeBorgione</dc:creator>
      <dc:date>2017-02-06T21:09:31Z</dc:date>
    </item>
    <item>
      <title>Re: Attribute Assistant - Timestamp question</title>
      <link>https://community.esri.com/t5/water-utilities-questions/attribute-assistant-timestamp-question/m-p/386161#M795</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I know it is crazy, I am just looking through the upcoming &lt;A href="https://dev.nena.org/kws/public/download/9828/20161206_NG9-1-1%20GIS%20Data%20Model_PubRvw.pdf"&gt;NENA standards&lt;/A&gt; &lt;/P&gt;&lt;P&gt;This is what I am talking about:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1403 5.37 Date Updated 1404 Description: The UTC date and time that the record was created or last modified. This 1405 value SHOULD be populated upon modifications to attributes, geometry, or both. 1406 Domain: Restricted to ISO 8601 compliant values in Coordinated Universal Time (UTC). 1407 Values are not allowed to be in the future. 1408 Example: 2010-12-19T20:01:29-05 (representing a record updated on December 19, 2010 1409 at 8:01 and 29 seconds PM US Eastern Standard Time)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 06 Feb 2017 21:22:26 GMT</pubDate>
      <guid>https://community.esri.com/t5/water-utilities-questions/attribute-assistant-timestamp-question/m-p/386161#M795</guid>
      <dc:creator>TimWitt2</dc:creator>
      <dc:date>2017-02-06T21:22:26Z</dc:date>
    </item>
    <item>
      <title>Re: Attribute Assistant - Timestamp question</title>
      <link>https://community.esri.com/t5/water-utilities-questions/attribute-assistant-timestamp-question/m-p/386162#M796</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I often wonder about the practicality of NENA standards; I don't know what percentage I'm NENA compliant, but somehow we get the right truck or car to the right address in the shortest amount of time...&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Looking at that document, I don't see tenths of a second.&amp;nbsp; Currently I provide a date of when a record was last modified. ( I expect the&amp;nbsp; NENA black Suburban to pull up any minute now and take me away.)&amp;nbsp; Instead of AA, you could try using the Editor Tracker and specify UTC...&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 06 Feb 2017 21:32:11 GMT</pubDate>
      <guid>https://community.esri.com/t5/water-utilities-questions/attribute-assistant-timestamp-question/m-p/386162#M796</guid>
      <dc:creator>JoeBorgione</dc:creator>
      <dc:date>2017-02-06T21:32:11Z</dc:date>
    </item>
    <item>
      <title>Re: Attribute Assistant - Timestamp question</title>
      <link>https://community.esri.com/t5/water-utilities-questions/attribute-assistant-timestamp-question/m-p/386163#M797</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I pulled the decimal from their Date Field description:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;D – Date and Time fields are as defined by the International Organization for Standardization (ISO) 8601 standard and are a NENA requirement. Date and time use ISO 8601 compliant &amp;nbsp;formats which are in the format of YYYY-MM-DDThh:mm:ss.sTZD and conform to a &amp;nbsp;TimeStamp as defined in NENA-STA-010 [1] , which in turn conforms to W3C dateTime &amp;nbsp;format. Example: 2014-02-20T23:16:45.7-05:00 744 2014 = the Year 02 = the Month 20 = the Day NENA Standard for NG9-1-1 GIS Data Model NENA-STA-006.1-201X, Month Day, Year [MM/DD/YYYY] Page 29 of 86 &amp;nbsp;23 = the Hour &amp;nbsp;16 = the Minute &amp;nbsp;45.7 = the Seconds and decimal fraction of seconds &amp;nbsp;–05:00= the Offset from UTC &amp;nbsp;Note: The Offset from Coordinated Universal Time (UTC) is the optional separator to &amp;nbsp;indicate the time zone designation, which in this example is -5:00 to indicate the local Eastern Standard Time (EST) time difference from UTC.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'll have to check out editor tracker!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 07 Feb 2017 13:04:09 GMT</pubDate>
      <guid>https://community.esri.com/t5/water-utilities-questions/attribute-assistant-timestamp-question/m-p/386163#M797</guid>
      <dc:creator>TimWitt2</dc:creator>
      <dc:date>2017-02-07T13:04:09Z</dc:date>
    </item>
    <item>
      <title>Re: Attribute Assistant - Timestamp question</title>
      <link>https://community.esri.com/t5/water-utilities-questions/attribute-assistant-timestamp-question/m-p/386164#M798</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;We are using DateTime.Now.ToString&amp;lt;http://DateTime.Now.ToString&amp;gt;(format string) to set the date time.  You just need to find the correct format string to specify in the value info.  Make sure the field is a string you are storing the value in.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 07 Feb 2017 13:43:35 GMT</pubDate>
      <guid>https://community.esri.com/t5/water-utilities-questions/attribute-assistant-timestamp-question/m-p/386164#M798</guid>
      <dc:creator>MikeMillerGIS</dc:creator>
      <dc:date>2017-02-07T13:43:35Z</dc:date>
    </item>
    <item>
      <title>Re: Attribute Assistant - Timestamp question</title>
      <link>https://community.esri.com/t5/water-utilities-questions/attribute-assistant-timestamp-question/m-p/386165#M799</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hey &lt;A href="https://community.esri.com/people/mmiller-esristaff"&gt;mmiller-esristaff&lt;/A&gt;‌&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thanks for the reply! So I would have to create the Field, in which I want the timestamp to go as a string field. Then I would use the Expression method for that field to fill in the timestamp?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Could you post a basic example of the DateTime.Now.ToString I would have to use? From there I can probably figure it out myself.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Tim&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 07 Feb 2017 14:57:53 GMT</pubDate>
      <guid>https://community.esri.com/t5/water-utilities-questions/attribute-assistant-timestamp-question/m-p/386165#M799</guid>
      <dc:creator>TimWitt2</dc:creator>
      <dc:date>2017-02-07T14:57:53Z</dc:date>
    </item>
    <item>
      <title>Re: Attribute Assistant - Timestamp question</title>
      <link>https://community.esri.com/t5/water-utilities-questions/attribute-assistant-timestamp-question/m-p/386166#M800</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Tim-&amp;nbsp; see of this helps: &lt;A class="link-titled" href="http://stackoverflow.com/questions/8128383/datetime-now-tostringyyyy-mm-dd-hhmmss-is-returning-am-time-instead-of-pm" title="http://stackoverflow.com/questions/8128383/datetime-now-tostringyyyy-mm-dd-hhmmss-is-returning-am-time-instead-of-pm"&gt;.net - DateTime.Now.ToString("yyyy-MM-dd hh:mm:ss") is returning AM time instead of PM time? - Stack Overflow&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 07 Feb 2017 17:37:05 GMT</pubDate>
      <guid>https://community.esri.com/t5/water-utilities-questions/attribute-assistant-timestamp-question/m-p/386166#M800</guid>
      <dc:creator>JoeBorgione</dc:creator>
      <dc:date>2017-02-07T17:37:05Z</dc:date>
    </item>
    <item>
      <title>Re: Attribute Assistant - Timestamp question</title>
      <link>https://community.esri.com/t5/water-utilities-questions/attribute-assistant-timestamp-question/m-p/386167#M801</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Joe, I tried that earlier but it didn't work. Maybe I was using it wrong? I even tried that in the field calculator and it didn't work. Thanks for posting though!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 07 Feb 2017 17:54:29 GMT</pubDate>
      <guid>https://community.esri.com/t5/water-utilities-questions/attribute-assistant-timestamp-question/m-p/386167#M801</guid>
      <dc:creator>TimWitt2</dc:creator>
      <dc:date>2017-02-07T17:54:29Z</dc:date>
    </item>
    <item>
      <title>Re: Attribute Assistant - Timestamp question</title>
      <link>https://community.esri.com/t5/water-utilities-questions/attribute-assistant-timestamp-question/m-p/386168#M802</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;It will not work in the field calculator. &amp;nbsp;Can you post what the aa debug/log file is reporting?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 07 Feb 2017 18:16:48 GMT</pubDate>
      <guid>https://community.esri.com/t5/water-utilities-questions/attribute-assistant-timestamp-question/m-p/386168#M802</guid>
      <dc:creator>MikeMillerGIS</dc:creator>
      <dc:date>2017-02-07T18:16:48Z</dc:date>
    </item>
    <item>
      <title>Re: Attribute Assistant - Timestamp question</title>
      <link>https://community.esri.com/t5/water-utilities-questions/attribute-assistant-timestamp-question/m-p/386169#M803</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Row Info&lt;BR /&gt; Row Number 20&lt;BR /&gt; TableName: *&lt;BR /&gt; FieldName: DateUpdate&lt;BR /&gt; ValueInfo: DateTime.Now.ToString("yyyy-MM-dd HH:mm:ss")&lt;BR /&gt; ValueMethod: EXPRESSION&lt;BR /&gt; On Create: 1&lt;BR /&gt; On Change: 1&lt;/P&gt;&lt;P&gt;Checking for Subtype Restriction&lt;BR /&gt; Field Name: DateUpdate was found at index: 68&lt;BR /&gt; Trying: EXPRESSION&lt;BR /&gt; Checking to verify there is a field to store the expression&lt;BR /&gt;Expression to be eval: DateTime.Now.ToString("yyyy-MM-dd HH:mm:ss")&lt;BR /&gt; ERROR: evaluating the expression for feature in Brevard_Nena_Street with OID of 42394&lt;BR /&gt; Object required: 'DateTime'&lt;BR /&gt; Finished: EXPRESSION&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 07 Feb 2017 18:42:35 GMT</pubDate>
      <guid>https://community.esri.com/t5/water-utilities-questions/attribute-assistant-timestamp-question/m-p/386169#M803</guid>
      <dc:creator>TimWitt2</dc:creator>
      <dc:date>2017-02-07T18:42:35Z</dc:date>
    </item>
    <item>
      <title>Re: Attribute Assistant - Timestamp question</title>
      <link>https://community.esri.com/t5/water-utilities-questions/attribute-assistant-timestamp-question/m-p/386170#M804</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Using your value info through the debugger, I get a proper date and the process completes&lt;/P&gt;&lt;P&gt;&amp;gt;? args[0]&lt;/P&gt;&lt;P&gt;"yyyy-MM-dd HH:mm:ss"&lt;/P&gt;&lt;P&gt;&amp;gt;? DateTime.Now.ToString(args[0])&lt;/P&gt;&lt;P&gt;"2017-02-07 14:08:04"&lt;/P&gt;&lt;BLOCKQUOTE level="1"&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;What version are you using?  I would suggest trying out the preview of the next release&lt;/P&gt;&lt;P&gt;https://github.com/Esri/local-government-desktop-addins/tree/dev/PreviewBuilds&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Also, you need a string field as the date/time field will display the date based on your system date time formatting.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 07 Feb 2017 19:10:36 GMT</pubDate>
      <guid>https://community.esri.com/t5/water-utilities-questions/attribute-assistant-timestamp-question/m-p/386170#M804</guid>
      <dc:creator>MikeMillerGIS</dc:creator>
      <dc:date>2017-02-07T19:10:36Z</dc:date>
    </item>
    <item>
      <title>Re: Attribute Assistant - Timestamp question</title>
      <link>https://community.esri.com/t5/water-utilities-questions/attribute-assistant-timestamp-question/m-p/386171#M805</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hold on, why are you using this in expression?  Just use the TIMESTAMP value method and yyyy-MM-dd HH:mm:ss as the value info&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 07 Feb 2017 19:12:24 GMT</pubDate>
      <guid>https://community.esri.com/t5/water-utilities-questions/attribute-assistant-timestamp-question/m-p/386171#M805</guid>
      <dc:creator>MikeMillerGIS</dc:creator>
      <dc:date>2017-02-07T19:12:24Z</dc:date>
    </item>
    <item>
      <title>Re: Attribute Assistant - Timestamp question</title>
      <link>https://community.esri.com/t5/water-utilities-questions/attribute-assistant-timestamp-question/m-p/386172#M806</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Michael thanks for the help. What I will end up doing is create a DATE field and a TIME field and then write an expression for my DateUpdate field looking like this: [DATE] &amp;amp; "T" &amp;amp; [TIME] &amp;amp; "&lt;SPAN style="background-color: #ffffff;"&gt;-05:00"&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 07 Feb 2017 19:43:45 GMT</pubDate>
      <guid>https://community.esri.com/t5/water-utilities-questions/attribute-assistant-timestamp-question/m-p/386172#M806</guid>
      <dc:creator>TimWitt2</dc:creator>
      <dc:date>2017-02-07T19:43:45Z</dc:date>
    </item>
  </channel>
</rss>

