<?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: Output time data only as fieldtype TIME in ArcGIS Survey123 Questions</title>
    <link>https://community.esri.com/t5/arcgis-survey123-questions/output-time-data-only-as-fieldtype-time/m-p/1030149#M32703</link>
    <description>&lt;P&gt;Hi Josh, thank you for your response! Any idea how I could copy the time into the TimeCopy field with an arbitrary date?&amp;nbsp;&lt;/P&gt;&lt;P&gt;The copy of hours only is a great idea, but the only issue is that like the first graph image, the hours with no entries for will not show up - e.g. 0700 won't show up on the graph if there are no entries between 0700 and 0759.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you again!&lt;/P&gt;</description>
    <pubDate>Wed, 24 Feb 2021 19:25:42 GMT</pubDate>
    <dc:creator>JulietK</dc:creator>
    <dc:date>2021-02-24T19:25:42Z</dc:date>
    <item>
      <title>Output time data only as fieldtype TIME</title>
      <link>https://community.esri.com/t5/arcgis-survey123-questions/output-time-data-only-as-fieldtype-time/m-p/1029856#M32684</link>
      <description>&lt;P&gt;Hi, I have a hidden field (TimeCopy) with calculate &lt;STRONG&gt;format-date(${InterceptTime}, '%H:%M')&lt;/STRONG&gt; to extract the time only from a DateTime field. The field automatically outputs to field type String, which doesn’t display the way I need it to when displayed in a serial chart format in the Dashboard. Each timestamps are shown as one bar in the chart, so 18:25 and 18:30 would be separate bars as below. I need a chart to show in hourly ranges, with every entry within the same hour counted and displayed in a single bar.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="JulietK_0-1614127806773.png" style="width: 913px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/6744iB9A00DB553AE52CD/image-dimensions/913x203?v=v2" width="913" height="203" role="button" title="JulietK_0-1614127806773.png" alt="JulietK_0-1614127806773.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;I tried creating a serial chart with just the datetime field instead, with Parse dates ticked and minimum set as Hour. This still displays all the different dates as well, so doesn’t return what I am looking for.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="JulietK_1-1614127806780.png" style="width: 999px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/6745i2EDDF8153195C631/image-size/large?v=v2&amp;amp;px=999" role="button" title="JulietK_1-1614127806780.png" alt="JulietK_1-1614127806780.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Is there a way to get the Time field (time only extracted from a DateTime field) to output as just Time, and not string? I’ve tried setting the bind::esri:fieldtype as esriFieldTypeDate, or bind::type as Time, but in either cases the field does not output any data.&lt;/P&gt;&lt;P&gt;Below is an example of what I am trying to achieve.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="JulietK_2-1614127806786.png" style="width: 999px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/6746i63F0529B8F7FD2B0/image-size/large?v=v2&amp;amp;px=999" role="button" title="JulietK_2-1614127806786.png" alt="JulietK_2-1614127806786.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The DateTime field needs to be kept as DateTime, as I’ve set it up to calculate ‘time elapsed’ between two DateTime fields.&lt;/P&gt;&lt;P&gt;It seems maybe in the TimeCopy field, I could find a way to replace all the dates from the DateTime with a default date, so that when I select Parse Dates and Minimum Period as Hour, only the hours of the day are displayed like the above.&lt;/P&gt;&lt;P&gt;Though I know the end result I would like, I’m unsure how to replace the date from DateTime and copy the time from the DateTime together into the same field? Or whether there is an easier way to turn the TimeCopy field into a Time only fieldtype?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you, any ideas/advice would be very much appreciated!&lt;/P&gt;</description>
      <pubDate>Wed, 24 Feb 2021 00:53:16 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-survey123-questions/output-time-data-only-as-fieldtype-time/m-p/1029856#M32684</guid>
      <dc:creator>JulietK</dc:creator>
      <dc:date>2021-02-24T00:53:16Z</dc:date>
    </item>
    <item>
      <title>Re: Output time data only as fieldtype TIME</title>
      <link>https://community.esri.com/t5/arcgis-survey123-questions/output-time-data-only-as-fieldtype-time/m-p/1029873#M32688</link>
      <description>&lt;P&gt;I think the arbitrary date idea is doable, and gives you the option of getting finer resolution if you ever wanted.&lt;/P&gt;&lt;P&gt;If you only need it grouped by hour, why not make "TimeCopy" extract the hour only? Either &lt;STRONG&gt;format-date(${InterceptTime}, '%H:00')&amp;nbsp;&lt;/STRONG&gt; or even just &lt;STRONG&gt;'%H'&lt;/STRONG&gt;?&lt;/P&gt;</description>
      <pubDate>Wed, 24 Feb 2021 02:51:20 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-survey123-questions/output-time-data-only-as-fieldtype-time/m-p/1029873#M32688</guid>
      <dc:creator>jcarlson</dc:creator>
      <dc:date>2021-02-24T02:51:20Z</dc:date>
    </item>
    <item>
      <title>Re: Output time data only as fieldtype TIME</title>
      <link>https://community.esri.com/t5/arcgis-survey123-questions/output-time-data-only-as-fieldtype-time/m-p/1030149#M32703</link>
      <description>&lt;P&gt;Hi Josh, thank you for your response! Any idea how I could copy the time into the TimeCopy field with an arbitrary date?&amp;nbsp;&lt;/P&gt;&lt;P&gt;The copy of hours only is a great idea, but the only issue is that like the first graph image, the hours with no entries for will not show up - e.g. 0700 won't show up on the graph if there are no entries between 0700 and 0759.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you again!&lt;/P&gt;</description>
      <pubDate>Wed, 24 Feb 2021 19:25:42 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-survey123-questions/output-time-data-only-as-fieldtype-time/m-p/1030149#M32703</guid>
      <dc:creator>JulietK</dc:creator>
      <dc:date>2021-02-24T19:25:42Z</dc:date>
    </item>
    <item>
      <title>Re: Output time data only as fieldtype TIME</title>
      <link>https://community.esri.com/t5/arcgis-survey123-questions/output-time-data-only-as-fieldtype-time/m-p/1030163#M32706</link>
      <description>&lt;P&gt;Oh, you're right, I didn't think about that.&lt;/P&gt;&lt;P&gt;For the arbitrary date, just hard-code a value into the formula in the standard YYYY-MM-DD format.&lt;/P&gt;&lt;PRE&gt;&lt;STRONG&gt;format-date(${InterceptTime}, '1970-01-01 %H:%M')&amp;nbsp;&lt;/STRONG&gt;&lt;/PRE&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="jcarlson_0-1614196144522.png" style="width: 400px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/6822iE26CB6A142E7E930/image-size/medium?v=v2&amp;amp;px=400" role="button" title="jcarlson_0-1614196144522.png" alt="jcarlson_0-1614196144522.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 24 Feb 2021 19:48:55 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-survey123-questions/output-time-data-only-as-fieldtype-time/m-p/1030163#M32706</guid>
      <dc:creator>jcarlson</dc:creator>
      <dc:date>2021-02-24T19:48:55Z</dc:date>
    </item>
    <item>
      <title>Re: Output time data only as fieldtype TIME</title>
      <link>https://community.esri.com/t5/arcgis-survey123-questions/output-time-data-only-as-fieldtype-time/m-p/1030178#M32709</link>
      <description>&lt;P&gt;Hi Josh, that is perfect, thank you for that! &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 24 Feb 2021 20:16:40 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-survey123-questions/output-time-data-only-as-fieldtype-time/m-p/1030178#M32709</guid>
      <dc:creator>JulietK</dc:creator>
      <dc:date>2021-02-24T20:16:40Z</dc:date>
    </item>
  </channel>
</rss>

