<?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>Question Re: Date format in Adobe forms. in Technology Q&amp;A</title>
    <link>https://community.sap.com/t5/technology-q-a/date-format-in-adobe-forms/qaa-p/12198371#M4563997</link>
    <description>&lt;P&gt;Hi Mousa,&lt;BR /&gt;for your concatenation script you are probably using the rawValue of the date fields?&lt;BR /&gt;Instead use the formattedValue property.&lt;/P&gt;&lt;P&gt;Instead of this:&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;TextField1.rawValue = Date1.rawValue + " - " +Date2.rawValue&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;Use:&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;TextField2.rawValue = Date1.formattedValue + " - " +Date2.formattedValue&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;Docs: &lt;/P&gt;&lt;P&gt;&lt;A href="https://help.adobe.com/en_US/livecycle/11.0/DesignerScriptingRef/WS92d06802c76abadb-3e14850712a151d270d-7bb9.2.html" target="test_blank"&gt;https://help.adobe.com/en_US/livecycle/11.0/DesignerScriptingRef/WS92d06802c76abadb-3e14850712a151d270d-7bb9.2.html&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Best regards&lt;BR /&gt;Pascal&lt;/P&gt;</description>
    <pubDate>Mon, 06 Apr 2020 14:08:20 GMT</pubDate>
    <dc:creator>PascalBremer</dc:creator>
    <dc:date>2020-04-06T14:08:20Z</dc:date>
    <item>
      <title>Date format in Adobe forms.</title>
      <link>https://community.sap.com/t5/technology-q-a/date-format-in-adobe-forms/qaq-p/12198370</link>
      <description>&lt;P&gt;Hi experts,&lt;/P&gt;
  &lt;P&gt;I am working on a customer quote form for SAP C4C. In the form I have to concatenate two dates for a time period :&lt;/P&gt;
  &lt;P&gt;&lt;IMG class="migrated-image" src="https://community.sap.com/legacyfs/online/storage/attachments/storage/7/attachments/1796502-2020-04-06-17-53-07-window.png" /&gt;&lt;/P&gt;
  &lt;P&gt;The customer wants the the format to be DD/MM/YYYY. I have set it correctly in Adobe LiveCycle Designer but yet it doesn't show the right format:&lt;/P&gt;
  &lt;P&gt;&lt;IMG class="migrated-image" src="https://community.sap.com/legacyfs/online/storage/attachments/storage/7/attachments/1796503-2020-04-06-17-55-25-window.png" /&gt;&lt;/P&gt;
  &lt;P&gt;Any idea how to fix it?&lt;/P&gt;</description>
      <pubDate>Mon, 06 Apr 2020 13:56:53 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/date-format-in-adobe-forms/qaq-p/12198370</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2020-04-06T13:56:53Z</dc:date>
    </item>
    <item>
      <title>Re: Date format in Adobe forms.</title>
      <link>https://community.sap.com/t5/technology-q-a/date-format-in-adobe-forms/qaa-p/12198371#M4563997</link>
      <description>&lt;P&gt;Hi Mousa,&lt;BR /&gt;for your concatenation script you are probably using the rawValue of the date fields?&lt;BR /&gt;Instead use the formattedValue property.&lt;/P&gt;&lt;P&gt;Instead of this:&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;TextField1.rawValue = Date1.rawValue + " - " +Date2.rawValue&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;Use:&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;TextField2.rawValue = Date1.formattedValue + " - " +Date2.formattedValue&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;Docs: &lt;/P&gt;&lt;P&gt;&lt;A href="https://help.adobe.com/en_US/livecycle/11.0/DesignerScriptingRef/WS92d06802c76abadb-3e14850712a151d270d-7bb9.2.html" target="test_blank"&gt;https://help.adobe.com/en_US/livecycle/11.0/DesignerScriptingRef/WS92d06802c76abadb-3e14850712a151d270d-7bb9.2.html&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Best regards&lt;BR /&gt;Pascal&lt;/P&gt;</description>
      <pubDate>Mon, 06 Apr 2020 14:08:20 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/date-format-in-adobe-forms/qaa-p/12198371#M4563997</guid>
      <dc:creator>PascalBremer</dc:creator>
      <dc:date>2020-04-06T14:08:20Z</dc:date>
    </item>
    <item>
      <title>Re: Date format in Adobe forms.</title>
      <link>https://community.sap.com/t5/technology-q-a/date-format-in-adobe-forms/qaa-p/12198372#M4563998</link>
      <description>&lt;P&gt;That was my problem! worked like a magic. Thanks Pascal!&lt;/P&gt;</description>
      <pubDate>Mon, 06 Apr 2020 17:06:32 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/date-format-in-adobe-forms/qaa-p/12198372#M4563998</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2020-04-06T17:06:32Z</dc:date>
    </item>
  </channel>
</rss>

