<?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: survey123 time field - select seconds not just hours/minutes in ArcGIS Survey123 Questions</title>
    <link>https://community.esri.com/t5/arcgis-survey123-questions/survey123-time-field-select-seconds-not-just-hours/m-p/847419#M22390</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Seconds capture is not directly supported. &amp;nbsp;It is&amp;nbsp;possible to have a form with:&lt;/P&gt;&lt;P&gt;1) A Time/DateTime question to record information to the minute&lt;/P&gt;&lt;P&gt;2) An integer field to record the seconds&lt;/P&gt;&lt;P&gt;3) A calculate question that adds the first to questions together&lt;/P&gt;&lt;P&gt;&amp;nbsp; - If using a time question (which stores text), use concat() to add it to the time string&lt;/P&gt;&lt;P&gt;&amp;nbsp; - If using a datetime question, add (# of seconds*1000) to the datetime question&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 28 May 2019 21:24:17 GMT</pubDate>
    <dc:creator>JamesTedrick</dc:creator>
    <dc:date>2019-05-28T21:24:17Z</dc:date>
    <item>
      <title>survey123 time field - select seconds not just hours/minutes</title>
      <link>https://community.esri.com/t5/arcgis-survey123-questions/survey123-time-field-select-seconds-not-just-hours/m-p/847418#M22389</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'm creating a survey123 form using survey123connect (3.4 beta) and I need to be able to drill down into seconds as an option for data entry in a time field. As default the user can only select the hours and minutes for a time field and I can't find anyway of changing this. Does anyone know if this is possible?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 26 May 2019 10:52:29 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-survey123-questions/survey123-time-field-select-seconds-not-just-hours/m-p/847418#M22389</guid>
      <dc:creator>GeomaticsPublisher</dc:creator>
      <dc:date>2019-05-26T10:52:29Z</dc:date>
    </item>
    <item>
      <title>Re: survey123 time field - select seconds not just hours/minutes</title>
      <link>https://community.esri.com/t5/arcgis-survey123-questions/survey123-time-field-select-seconds-not-just-hours/m-p/847419#M22390</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Seconds capture is not directly supported. &amp;nbsp;It is&amp;nbsp;possible to have a form with:&lt;/P&gt;&lt;P&gt;1) A Time/DateTime question to record information to the minute&lt;/P&gt;&lt;P&gt;2) An integer field to record the seconds&lt;/P&gt;&lt;P&gt;3) A calculate question that adds the first to questions together&lt;/P&gt;&lt;P&gt;&amp;nbsp; - If using a time question (which stores text), use concat() to add it to the time string&lt;/P&gt;&lt;P&gt;&amp;nbsp; - If using a datetime question, add (# of seconds*1000) to the datetime question&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 28 May 2019 21:24:17 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-survey123-questions/survey123-time-field-select-seconds-not-just-hours/m-p/847419#M22390</guid>
      <dc:creator>JamesTedrick</dc:creator>
      <dc:date>2019-05-28T21:24:17Z</dc:date>
    </item>
    <item>
      <title>Re: survey123 time field - select seconds not just hours/minutes</title>
      <link>https://community.esri.com/t5/arcgis-survey123-questions/survey123-time-field-select-seconds-not-just-hours/m-p/1160641#M41840</link>
      <description>&lt;P&gt;Hello James,&amp;nbsp;&lt;/P&gt;&lt;P&gt;Is this feature still unsupported? Many natural and wildlife surveys need seconds and it would be very helpful to have in one location&lt;/P&gt;</description>
      <pubDate>Mon, 04 Apr 2022 02:41:50 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-survey123-questions/survey123-time-field-select-seconds-not-just-hours/m-p/1160641#M41840</guid>
      <dc:creator>FRSadmin</dc:creator>
      <dc:date>2022-04-04T02:41:50Z</dc:date>
    </item>
    <item>
      <title>Re: survey123 time field - select seconds not just hours/minutes</title>
      <link>https://community.esri.com/t5/arcgis-survey123-questions/survey123-time-field-select-seconds-not-just-hours/m-p/1218683#M45147</link>
      <description>&lt;P&gt;I second FRSadmin's comment - it would be very beneficial to have seconds and milliseconds included in the DateTime question type.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks!&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 04 Oct 2022 16:01:39 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-survey123-questions/survey123-time-field-select-seconds-not-just-hours/m-p/1218683#M45147</guid>
      <dc:creator>AlexSteiner</dc:creator>
      <dc:date>2022-10-04T16:01:39Z</dc:date>
    </item>
    <item>
      <title>Re: survey123 time field - select seconds not just hours/minutes</title>
      <link>https://community.esri.com/t5/arcgis-survey123-questions/survey123-time-field-select-seconds-not-just-hours/m-p/1227234#M45756</link>
      <description>&lt;P&gt;Hi,&amp;nbsp;&lt;/P&gt;&lt;P&gt;We were trying to find a way to use the seconds value from a datetime for other use (concatenate into another value) and thought you may find this useful.&amp;nbsp; The simplest method was to use the scripts component accessible in Connect and then added the pulldata functionality to acquire the seconds from the script.&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;Open the survey in Connect and add a new script:&lt;BR /&gt;&lt;BR /&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="javascript"&gt;function getSeconds() {
	    const padL = (nr, len = 2, chr = `0`) =&amp;gt; `${nr}`.padStart(2, chr);
	    var currentDateTime = new Date( now() );
        var resultInSeconds=padL(currentDateTime.getSeconds());
        return `${resultInSeconds}`;
}​&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;Save it as getSeconds.js&lt;/LI&gt;&lt;LI&gt;In your XLSForm field, access the seconds value by applying pulldata function like so,&lt;BR /&gt;&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; string(pulldata("@javascript","getSeconds.js","getSeconds"))&lt;BR /&gt;&lt;BR /&gt;&lt;/LI&gt;&lt;LI&gt;The Javascript should also pad any digit 1-9 with a leading zero.&lt;/LI&gt;&lt;/UL&gt;</description>
      <pubDate>Mon, 31 Oct 2022 19:43:12 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-survey123-questions/survey123-time-field-select-seconds-not-just-hours/m-p/1227234#M45756</guid>
      <dc:creator>JamesCrandall</dc:creator>
      <dc:date>2022-10-31T19:43:12Z</dc:date>
    </item>
    <item>
      <title>Re: survey123 time field - select seconds not just hours/minutes</title>
      <link>https://community.esri.com/t5/arcgis-survey123-questions/survey123-time-field-select-seconds-not-just-hours/m-p/1247804#M46926</link>
      <description>&lt;P&gt;This is really cool -- Do you just add the seconds to the UTC time recorded by Survey123? I'm trying to do a start time/end time field so I can calculate elapsed times, but I'm only getting minutes so I'm going to try to use your script to incorporate seconds.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 12 Jan 2023 20:38:44 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-survey123-questions/survey123-time-field-select-seconds-not-just-hours/m-p/1247804#M46926</guid>
      <dc:creator>MaryGraceMcClellan</dc:creator>
      <dc:date>2023-01-12T20:38:44Z</dc:date>
    </item>
    <item>
      <title>Re: survey123 time field - select seconds not just hours/minutes</title>
      <link>https://community.esri.com/t5/arcgis-survey123-questions/survey123-time-field-select-seconds-not-just-hours/m-p/1669007#M64876</link>
      <description>&lt;P&gt;Hi James,&lt;/P&gt;&lt;P&gt;I'm responding a couple of years later and hoping you're still active here!&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have set the script up, and now I have applied the pull data function to the Calculation field of my 'time' question - is this correct? How do I get the seconds to display now? Or does this need to be a separate question outside of 'time'.&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am using time alone, rather than datetime.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 27 Nov 2025 02:39:09 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-survey123-questions/survey123-time-field-select-seconds-not-just-hours/m-p/1669007#M64876</guid>
      <dc:creator>Lorikeet</dc:creator>
      <dc:date>2025-11-27T02:39:09Z</dc:date>
    </item>
  </channel>
</rss>

