<?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: Time format conversion and manipulation in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/time-format-conversion-and-manipulation/m-p/2251263#M486708</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 need to check for the seconds if the time is like this  11:59:30 + 39 sec addition, then you  have to use a Fm&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;split the file time at , into one variable then call the  FM&lt;/P&gt;&lt;P&gt;WLF_RRLE_ADD_TIME  or&lt;/P&gt;&lt;P&gt;DIMP_ADD_TIME&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;then pass the values to add&lt;/P&gt;&lt;P&gt; IV_STARTTIME                    11:59:20&lt;/P&gt;&lt;P&gt; IV_STARTDATE&lt;/P&gt;&lt;P&gt; IV_STARTTIME                    11:59:20&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;output&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; EV_ENDTIME                      11:59:59&lt;/P&gt;&lt;P&gt; EV_ENDDATE&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;again concatanete the same separating the by , &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;hope this helps&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards&lt;/P&gt;&lt;P&gt;Shiva&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 21 May 2007 07:10:05 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2007-05-21T07:10:05Z</dc:date>
    <item>
      <title>Time format conversion and manipulation</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/time-format-conversion-and-manipulation/m-p/2251261#M486706</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've the following time format in a flat file. 00:03:21,945&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;HH:MM:SS,TTT, where T = second / 1000&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I would like to manipulate this format, by adding some seconds to it (for example add 39 seconds) then write it back to the file in the given format.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;What do you think what is the best solution for this?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please don't answer quickly with 2 words, I'll give points for the best solutions.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Tamá&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 21 May 2007 04:49:05 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/time-format-conversion-and-manipulation/m-p/2251261#M486706</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-05-21T04:49:05Z</dc:date>
    </item>
    <item>
      <title>Re: Time format conversion and manipulation</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/time-format-conversion-and-manipulation/m-p/2251262#M486707</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;this is u r format HH:MM:SS,TTT..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;take this into one variable...let var&lt;/P&gt;&lt;P&gt;take last three char into one variable var2.&lt;/P&gt;&lt;P&gt;var2 = var19(3).&lt;/P&gt;&lt;P&gt;now add 39 seconds to this var2..&lt;/P&gt;&lt;P&gt;and move this var2 in to var19(3)...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;reward points...&lt;/P&gt;&lt;P&gt;if help full&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 21 May 2007 04:53:41 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/time-format-conversion-and-manipulation/m-p/2251262#M486707</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-05-21T04:53:41Z</dc:date>
    </item>
    <item>
      <title>Re: Time format conversion and manipulation</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/time-format-conversion-and-manipulation/m-p/2251263#M486708</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 need to check for the seconds if the time is like this  11:59:30 + 39 sec addition, then you  have to use a Fm&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;split the file time at , into one variable then call the  FM&lt;/P&gt;&lt;P&gt;WLF_RRLE_ADD_TIME  or&lt;/P&gt;&lt;P&gt;DIMP_ADD_TIME&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;then pass the values to add&lt;/P&gt;&lt;P&gt; IV_STARTTIME                    11:59:20&lt;/P&gt;&lt;P&gt; IV_STARTDATE&lt;/P&gt;&lt;P&gt; IV_STARTTIME                    11:59:20&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;output&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; EV_ENDTIME                      11:59:59&lt;/P&gt;&lt;P&gt; EV_ENDDATE&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;again concatanete the same separating the by , &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;hope this helps&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards&lt;/P&gt;&lt;P&gt;Shiva&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 21 May 2007 07:10:05 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/time-format-conversion-and-manipulation/m-p/2251263#M486708</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-05-21T07:10:05Z</dc:date>
    </item>
  </channel>
</rss>

