<?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: Calculating Time Interval between Two Time Feilds in Technology Q&amp;A</title>
    <link>https://community.sap.com/t5/technology-q-a/calculating-time-interval-between-two-time-feilds/qaa-p/14051179#M4907553</link>
    <description>First, you have to involve the Date because start and end date might be different and DSP doesn't support Time type. second, you can replcae the function DAYS_BETWEEN with SECONDS_BETWEEN to get the seconds, then convert the seconds to hours you want</description>
    <pubDate>Thu, 20 Mar 2025 08:03:16 GMT</pubDate>
    <dc:creator>Simon_Ye</dc:creator>
    <dc:date>2025-03-20T08:03:16Z</dc:date>
    <item>
      <title>Calculating Time Interval between Two Time Feilds</title>
      <link>https://community.sap.com/t5/technology-q-a/calculating-time-interval-between-two-time-feilds/qaq-p/14050247</link>
      <description>&lt;P&gt;&lt;LI-PRODUCT title="SAP Datasphere" id="73555000100800002141"&gt;&lt;/LI-PRODUCT&gt;&amp;nbsp;#TimeInterval&lt;/P&gt;&lt;P&gt;Hi All,&lt;BR /&gt;I have requirement to calculate the time interval between two Time Feilds in Graphical View using Calculated Column&lt;BR /&gt;There are 4 Dimension for a requirement with data in below format. I need to calculate time interval between Process Order Start Time and Finish Time in Hours. I have tried various function but it's not giving accurate results. Can anyone help me to calculate the expected results.&lt;/P&gt;&lt;TABLE border="1" width="100%"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD width="33.333333333333336%" height="85px"&gt;Process Order Actual Start Date&lt;/TD&gt;&lt;TD width="32.17353951890035%" height="85px"&gt;Process Order Actual Finish Date&lt;/TD&gt;&lt;TD width="17.826460481099655%" height="85px"&gt;Process Order Actual Start&amp;nbsp;Time (HHMISS)&lt;/TD&gt;&lt;TD width="8.333333333333334%" height="85px"&gt;Process Order Actual Finish&amp;nbsp;Time&amp;nbsp;(HHMISS)&lt;/TD&gt;&lt;TD width="8.333333333333334%"&gt;Time Interval between&amp;nbsp;Process Order Start Time and Finish Time in hrs (Expected Result)&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD width="33.333333333333336%" height="30px"&gt;&lt;SPAN&gt;20250106&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD width="32.17353951890035%" height="30px"&gt;&lt;SPAN&gt;20250107&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD width="17.826460481099655%" height="30px"&gt;&lt;SPAN&gt;164144&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD width="8.333333333333334%" height="30px"&gt;&lt;SPAN&gt;000000&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD width="8.333333333333334%"&gt;&lt;SPAN&gt;8&lt;/SPAN&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD width="33.333333333333336%" height="30px"&gt;&lt;SPAN&gt;20250107&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD width="32.17353951890035%" height="30px"&gt;&lt;SPAN&gt;20250122&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD width="17.826460481099655%" height="30px"&gt;&lt;SPAN&gt;063933&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD width="8.333333333333334%" height="30px"&gt;&lt;SPAN&gt;000000&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD width="8.333333333333334%"&gt;&lt;SPAN&gt;18&lt;/SPAN&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD width="33.333333333333336%"&gt;&lt;DIV class=""&gt;&lt;SPAN class=""&gt;20250117&lt;/SPAN&gt;&lt;/DIV&gt;&lt;/TD&gt;&lt;TD width="32.17353951890035%"&gt;&lt;DIV class=""&gt;&lt;SPAN class=""&gt;20250117&lt;/SPAN&gt;&lt;/DIV&gt;&lt;/TD&gt;&lt;TD width="17.826460481099655%"&gt;&lt;DIV class=""&gt;&lt;SPAN class=""&gt;000000&lt;/SPAN&gt;&lt;/DIV&gt;&lt;/TD&gt;&lt;TD width="8.333333333333334%"&gt;&lt;DIV class=""&gt;&lt;SPAN class=""&gt;093135&lt;/SPAN&gt;&lt;/DIV&gt;&lt;/TD&gt;&lt;TD width="8.333333333333334%"&gt;&lt;SPAN&gt;9&lt;/SPAN&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;</description>
      <pubDate>Wed, 19 Mar 2025 17:47:08 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/calculating-time-interval-between-two-time-feilds/qaq-p/14050247</guid>
      <dc:creator>D_Yadav1</dc:creator>
      <dc:date>2025-03-19T17:47:08Z</dc:date>
    </item>
    <item>
      <title>Re: Calculating Time Interval between Two Time Feilds</title>
      <link>https://community.sap.com/t5/technology-q-a/calculating-time-interval-between-two-time-feilds/qaa-p/14051056#M4907535</link>
      <description>&lt;P&gt;You need to concatenate The Date and Time column to generate a timestamp, then calculate the interval:&lt;/P&gt;&lt;P&gt;Formula of the calculate column "IntervalDays": :&amp;nbsp;DAYS_BETWEEN(TO_TIMESTAMP(CONCAT(START_DATE,START_TIME),'YYYYMMDDHHMISS'),TO_TIMESTAMP(CONCAT(END_DATE,END_TIME),'YYYYMMDDHHMISS'))&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Simon_Ye_0-1742451450287.png" style="width: 400px;"&gt;&lt;img src="https://community.sap.com/t5/image/serverpage/image-id/240301iA2AEF4DE392CE7E9/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Simon_Ye_0-1742451450287.png" alt="Simon_Ye_0-1742451450287.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 20 Mar 2025 06:18:48 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/calculating-time-interval-between-two-time-feilds/qaa-p/14051056#M4907535</guid>
      <dc:creator>Simon_Ye</dc:creator>
      <dc:date>2025-03-20T06:18:48Z</dc:date>
    </item>
    <item>
      <title>Re: Calculating Time Interval between Two Time Feilds</title>
      <link>https://community.sap.com/t5/technology-q-a/calculating-time-interval-between-two-time-feilds/qaa-p/14051066#M4907540</link>
      <description>Thanks for Response Simon. I need to calculate only hours between two time feilds Process Order Actual Start Time and Process Order Actual Finish Time. Date field is not involve in calculation.</description>
      <pubDate>Thu, 20 Mar 2025 06:36:27 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/calculating-time-interval-between-two-time-feilds/qaa-p/14051066#M4907540</guid>
      <dc:creator>D_Yadav1</dc:creator>
      <dc:date>2025-03-20T06:36:27Z</dc:date>
    </item>
    <item>
      <title>Re: Calculating Time Interval between Two Time Feilds</title>
      <link>https://community.sap.com/t5/technology-q-a/calculating-time-interval-between-two-time-feilds/qaa-p/14051179#M4907553</link>
      <description>First, you have to involve the Date because start and end date might be different and DSP doesn't support Time type. second, you can replcae the function DAYS_BETWEEN with SECONDS_BETWEEN to get the seconds, then convert the seconds to hours you want</description>
      <pubDate>Thu, 20 Mar 2025 08:03:16 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/calculating-time-interval-between-two-time-feilds/qaa-p/14051179#M4907553</guid>
      <dc:creator>Simon_Ye</dc:creator>
      <dc:date>2025-03-20T08:03:16Z</dc:date>
    </item>
  </channel>
</rss>

