<?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: changing the date format in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/changing-the-date-format/m-p/2384482#M529763</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;You may use FM DAY_ATTRIBUTES_GET with input date in dd.mm.yyyy format.&lt;/P&gt;&lt;P&gt;So you first need to convert the date from mm/dd/yyy to format dd.mm.yyyy by using the string operations &amp;amp; then use the above mentioned FM.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I hope this helps,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Raju Chitale&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 18 Jun 2007 06:04:59 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2007-06-18T06:04:59Z</dc:date>
    <item>
      <title>changing the date format</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/changing-the-date-format/m-p/2384479#M529760</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;How do i create a function module that imports date in a system format and displays the output in the following format:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Input date : 12/31/9999&lt;/P&gt;&lt;P&gt;Output date: 31st December 9999&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 18 Jun 2007 05:48:13 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/changing-the-date-format/m-p/2384479#M529760</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-06-18T05:48:13Z</dc:date>
    </item>
    <item>
      <title>Re: changing the date format</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/changing-the-date-format/m-p/2384480#M529761</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;Try this,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Use FM ISP_GET_MONTH_NAME and the values to it like this and use concatanate to the same&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Import parameters Value&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;DATE 20.02.2007&lt;/P&gt;&lt;P&gt;LANGUAGE EN&lt;/P&gt;&lt;P&gt;MONTH_NUMBER 00&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Export parameters Value&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;LANGU_BACK EN&lt;/P&gt;&lt;P&gt;LONGTEXT February&lt;/P&gt;&lt;P&gt;SHORTTEXT FEB&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 18 Jun 2007 05:50:51 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/changing-the-date-format/m-p/2384480#M529761</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-06-18T05:50:51Z</dc:date>
    </item>
    <item>
      <title>Re: changing the date format</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/changing-the-date-format/m-p/2384481#M529762</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;     date3 EQ 'X'.                                                                "The date format is like 31 apr, 2007&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;    CONDENSE temp_date NO-GAPS.&lt;/P&gt;&lt;P&gt;    SPLIT i_date AT ',' INTO daymonth year.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;    IF STRLEN( year ) NE '4'.&lt;/P&gt;&lt;P&gt;      error = 'X'.&lt;/P&gt;&lt;P&gt;      WRITE :  'Invalid date format.'.&lt;/P&gt;&lt;P&gt;    ELSE.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;      daymonth1 = daymonth.&lt;/P&gt;&lt;P&gt;      CONDENSE daymonth1 NO-GAPS.&lt;/P&gt;&lt;P&gt;      SHIFT daymonth1 LEFT BY 2 PLACES.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;      CONDENSE daymonth1 NO-GAPS.&lt;/P&gt;&lt;P&gt;      month  = daymonth1.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;      CONDENSE month NO-GAPS.&lt;/P&gt;&lt;P&gt;      TRANSLATE month TO UPPER CASE.&lt;/P&gt;&lt;P&gt;      SORT t_month BY monthstx.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;      MOVE month to mon.&lt;/P&gt;&lt;P&gt;      READ TABLE t_month WITH KEY monthstx = mon.                                  &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;      IF sy-subrc &amp;lt;&amp;gt; 0.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;        error = 'X'.&lt;/P&gt;&lt;P&gt;        WRITE : 'Invalid date format.' .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;      ELSE.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;        CONDENSE daymonth NO-GAPS.&lt;/P&gt;&lt;P&gt;        day =  daymonth+0(2).&lt;/P&gt;&lt;P&gt;        CONDENSE day NO-GAPS.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;        CONCATENATE year t_month-monthnumber day INTO o_date.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;     ENDIF.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;lt;b&amp;gt;Reward points&amp;lt;/b&amp;gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 18 Jun 2007 05:52:56 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/changing-the-date-format/m-p/2384481#M529762</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-06-18T05:52:56Z</dc:date>
    </item>
    <item>
      <title>Re: changing the date format</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/changing-the-date-format/m-p/2384482#M529763</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;You may use FM DAY_ATTRIBUTES_GET with input date in dd.mm.yyyy format.&lt;/P&gt;&lt;P&gt;So you first need to convert the date from mm/dd/yyy to format dd.mm.yyyy by using the string operations &amp;amp; then use the above mentioned FM.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I hope this helps,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Raju Chitale&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 18 Jun 2007 06:04:59 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/changing-the-date-format/m-p/2384482#M529763</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-06-18T06:04:59Z</dc:date>
    </item>
  </channel>
</rss>

