<?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: format-date parameters in ArcGIS Survey123 Questions</title>
    <link>https://community.esri.com/t5/arcgis-survey123-questions/format-date-parameters/m-p/816168#M14629</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Mike,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The documented list provides all the options for format-date; a full day name is not supported. &amp;nbsp;The options are limited by the XLSForm and XForm specification, which don't have an option for a full day. &amp;nbsp;It would be possible to reconstruct the full day based on the short day:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if(${short_day} = 'Sun' or&amp;nbsp;&lt;SPAN&gt;${short_day} = 'Mon' or&amp;nbsp;${short_day} = 'Fri', concat(${short_day}, 'day'), if(${short_day} = 'Tue', 'Tuesday', if(${short_day} = 'Wed', 'Wednesday', if(${short_day} = 'Thu', 'Thursday', 'Saturday'))))&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 17 May 2018 23:22:13 GMT</pubDate>
    <dc:creator>JamesTedrick</dc:creator>
    <dc:date>2018-05-17T23:22:13Z</dc:date>
    <item>
      <title>format-date parameters</title>
      <link>https://community.esri.com/t5/arcgis-survey123-questions/format-date-parameters/m-p/816167#M14628</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Are there other parameters available that are not listed in the help guide under formulas? I would like to have a full name text day rather than a three letter day. I want it to match what is in Due Date.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="three letter day" class="image-1 jive-image j-img-original" src="/legacyfs/online/406785_three letter day.JPG" /&gt;&lt;/P&gt;&lt;P&gt;Is there a parameter for hour that is based on 12 hour time?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 17 May 2018 17:08:45 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-survey123-questions/format-date-parameters/m-p/816167#M14628</guid>
      <dc:creator>MikeOnzay</dc:creator>
      <dc:date>2018-05-17T17:08:45Z</dc:date>
    </item>
    <item>
      <title>Re: format-date parameters</title>
      <link>https://community.esri.com/t5/arcgis-survey123-questions/format-date-parameters/m-p/816168#M14629</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Mike,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The documented list provides all the options for format-date; a full day name is not supported. &amp;nbsp;The options are limited by the XLSForm and XForm specification, which don't have an option for a full day. &amp;nbsp;It would be possible to reconstruct the full day based on the short day:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if(${short_day} = 'Sun' or&amp;nbsp;&lt;SPAN&gt;${short_day} = 'Mon' or&amp;nbsp;${short_day} = 'Fri', concat(${short_day}, 'day'), if(${short_day} = 'Tue', 'Tuesday', if(${short_day} = 'Wed', 'Wednesday', if(${short_day} = 'Thu', 'Thursday', 'Saturday'))))&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 17 May 2018 23:22:13 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-survey123-questions/format-date-parameters/m-p/816168#M14629</guid>
      <dc:creator>JamesTedrick</dc:creator>
      <dc:date>2018-05-17T23:22:13Z</dc:date>
    </item>
    <item>
      <title>Re: format-date parameters</title>
      <link>https://community.esri.com/t5/arcgis-survey123-questions/format-date-parameters/m-p/816169#M14630</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks for the clarification and suggestion. Here was my final calculation&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;BLOCKQUOTE class="jive_macro_quote jive-quote jive_text_macro"&gt;&lt;P&gt;if(format-date(${intake_date},'%a') = 'Sun' or format-date(${intake_date},'%a') = 'Mon' or format-date(${intake_date},'%a') = 'Fri', concat(concat(format-date(${intake_date},'%a'), 'day'),format-date(${intake_date},', %b %e, %Y')),if(format-date(${intake_date},'%a') = 'Tue', concat('Tuesday',format-date(${intake_date},', %b %e, %Y')),if(format-date(${intake_date},'%a') = 'Wed', concat('Wednesday',format-date(${intake_date},', %b %e, %Y')),if(format-date(${intake_date},'%a') = 'Thu', concat('Thursday',format-date(${intake_date},', %b %e, %Y')),concat('Saturday',format-date(${intake_date},', %b %e, %Y'))))))&lt;/P&gt;&lt;/BLOCKQUOTE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 18 May 2018 20:45:52 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-survey123-questions/format-date-parameters/m-p/816169#M14630</guid>
      <dc:creator>MikeOnzay</dc:creator>
      <dc:date>2018-05-18T20:45:52Z</dc:date>
    </item>
  </channel>
</rss>

