Converting Time Interval

Hi all,
I really need some help with converting time difference in days (2.02803) to DD:HH:MM:SS (2:0:40:22) format. Time difference is a number field.
Thanks
Kumar

try this
CStr (int(Truncate (DATEDIFF('n',,) /1440 ))) & ":" &
CStr (int(Remainder(Truncate (DATEDIFF('n',,) /60 ),24))) & ":" &
CStr (int(Remainder(DATEDIFF('n',,),60)))
This shows the output as
DD:HH:MM
Regards,
Raghavendra

Similar Messages

  • How to convert an time interval into float ?

    Dear oracle Experts,
    I have a question concerning time conversion.
    I would like to convert an interval like e.g.
    tsDuration INTERVAL DAY (9) TO SECOND;
    into a float which describes the interval as a fraction of a day where
    the pre decimal position is the number of days and the post decimal
    position the fraction of a day in a decimal syntax of the day.
    Are there conversion function available in Oracle 10g with which I
    could perform that task ?
    If there isn't a conversion function for that.what's the best way to do it ?
    Best regards,
    Daniel

    Hi Srini
    1. Copy/Paste Webdynpro components in the new project as was suggested before
    2. Or create new project, copy _comp folder from old project to the new one. But, do not forget to update .dcdef & .project files manually after this. You have to set the correct project name in .dcdef and set the correct local project path in .project.
    BR, Sergei

  • Time Interval for Daily Calendar in APEX 3

    Hi,
    we're looking at upgrading to Apex 3 and I have a question about the Daily Calendar time interval. Is there a way to change the interval to say, 15 minutes from the default 1 Hour?
    Cheers
    Kofi

    Hello Kofi,
    "Now looking at what I can see on apex.oracle.com, are you saying we'd just have to modify the daily calendar template?"The template only control the look of the calendar, not its functionality. If the default daily view meets your needs, you don't have to define any new templates.
    "I'd imagine that the whatever is creating the tags that will be displayed by the template needs changing to incorporate the other 15 minute cells I would add"Most of the calendar functionality you can control can be defined on the "Calendar Attributes" tab. The most important is the date column. If this column includes reference of time (on top of the date, of course) the APEX engine will automatically associate your entry with the proper "Hour" row. You are not adding cells. You are adding calendar entries. If several of these entries share the same hour slot, APEX will put all of then in the same row.
    The best way to understand it is simply define these entries. As I understand, you have access to apex.oracle.com, so it shouldn't be a problem.
    Regards,
    Arie.

  • Need to convert time to GMT or UNIVERSAL CO-ORDINATED TIME

    Hi,
        I need to convert a date and time to UNIVERSAL CO-ORDINATED TIME or GMT. Is there any function module to do the same. Please do let me know.
    TIA
    Gurpreet

    Hi,
    Here is the example program to conver the time to UTC
    DATA: time_stamp TYPE timestamp,
           dat TYPE d,
           tim TYPE t,
           tz   TYPE ttzz-tzone,
           dst (1) TYPE c.
    tz = 'UTC '.     " You need to maintain the ZONE
    time_stamp = 20030309033000.
    CONVERT TIME STAMP time_stamp TIME ZONE tz
            INTO DATE dat TIME tim DAYLIGHT SAVING TIME dst.
    WRITE: /(10) dat, (8) tim, dst.
    time_stamp = 20030309043000.
    CONVERT TIME STAMP time_stamp TIME ZONE tz
            INTO DATE dat TIME tim DAYLIGHT SAVING TIME dst.
    WRITE: /(10) dat, (8) tim, dst.
    Regards
    Sudheer

  • Calendar time interval

    Hello,
    This is one of the questions asked in the forum by some one else too some time back.
    Using ADF 11g, By Default Calender component shows time interval of 1 hour. Can we configure it to show the time interval of 15 minutes.
    For example, default calendar shows
    1:00 AM
    2:00 AM
    3:00 AM
    But I would need something like
    1:00 AM
    1:15 AM
    1:30 AM
    1:45 AM
    2:00 AM
    Any input is greatly appreciated.
    Thanks....

    I am also in need of this feature, any inputs/suggestions are appreciated.

  • Reducing the time interval in file Adpt to write a flat file at a location

    Hi All,
    I hav a scenario where i hav to write a flat file (<b>XXX.txt</b>) to a location. b4 doing that, i hav to check whether <b>XXX.txt</b> already exists or not. If it doesn't exists then i hav to write the <b>XXX.txt</b> file there. if it already exists, then i hav to wait until that <b>xxx.txt</b> file gets deleted.
    In the receiver file adapter v hav an option <b>file construction mode = <u><i>create</i></u></b> which does the same thing. but the problem here is it is taking too long (<b>more than 5 min</b>) which is not at all acceptable in my case (it is ok <b>if it takes 1 min</b>).
    Is there any way to <b>reduce the time interval</b> using the same option?
    Or do we hav any <b>work around solution</b> for acheiving the same scenario?
    any help wud b appreciated.
    Thnx in Adv.
    Anil

    Anil
    As far as my knowledge goes I think it is not possible because we are not going to do anything from our end. XI is doing processing and creating a file for you. But you might be sending a large file at a time. So you have to improve the performance in your scenario. You check this urls on how to improve performance in XI:
    https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/70ada5ef-0201-0010-1f8b-c935e444b0ad
    Improving performence in XI
    Maximum Permitted File Size in XI
    ---Satish

  • Fatch data from a table after a given time interval

    Hello
    I want to fetch date from a table after a fixed time interval is there any
    way to do it.
    thanks

    Not sure what you want. But maybe this helps.
    SELECT date+interval FROM atable;
    Also if you tell us more about the business case the answers could be more to the point.

  • How to take the data from excel list to sap r/3(with time interval)

    hi experts,
       how to transfer the data from a third party system(if it is in format of excel) to sap r/3.with that in a particular time interval,it will delete the data from excel sheet.

    Hi
    use the Fm
    'ALSM_EXCEL_TO_INTERNAL_TABLE'
           EXPORTING
                filename                = p_path
                i_begin_col             = '1'
                i_begin_row             = '2'
                i_end_col               = '2'
                i_end_row               = '500'
          giving the starting row and column and passing the ending row and column name
    Reward points if useful........
    Regards,
    Nitin Sachdeva

  • Converting time stamp to double

    Hello,
    I am currently using the write to spreadsheet file.vi to save data.
    It looks something like this:
    I also want to add the date and time stamp into the saved data but do not know a way of converting a date and time stamp to 'double format'. When the date and time stamp is in teh double format I can easily concatenate the data stream with the 'date and time' in a 2-D array.
    Thanks,
    Nevica

    Duplicate post
    http://forums.ni.com/t5/LabVIEW/converting-time-st​amp-to-double/td-p/1181397
    Tim
    Johnson Controls
    Holland Michigan

  • What is a fast way to drive a HP53132A counter to do real time, "time interval" measurements?

    Right now I run my system on a simple PCI GPIB bus. The fastest I can the time interval measurement is at 100 Hz. However, the has 350 ns timing and the PC running the program is much faster than this. So I should be able to achieve a rate of at least 10 kHz (depending on the counter of course). Do you have any suggestions for the way to set up the counter for the fastest measurement?

    I think that you're running into a limitation of the counter itself. My manual for the 53131 says that it can can do a maximum of 200 GPIB measurements per second. I think that the 53132 is similar except for extended resolution. What you might try is the STATS mode where you command the counter to take a number of measurements and then calculate the statistic. It is generally fster to let an instrument do a series of measurements and accumulate the results than to try and transfer one measurement at a time over the GPIB bus. VXI, PCI, PXI instruments can do things a lot faster so that might be an option as well. You should also be aware that your rate of 10 kHz requires timing resolution greater than what is in a PC (a PC has 1 msec resolution at best a
    nd it's not deterministic at all) so if you need something accurate, you'll have to use external hardware timing.

  • Time interval in Asset master record.

    Hi All,
    I am creating asset master record using AS01. Then I am doing intercompany transfer of asset via T Code ABT1N.
    If I view the asset time dependant data after this I am getting the following:
    1. The time interval mentioned is 01.01.1900 till 31.08.2007.
    2. When I add the furthur time interval I am getting the ABAP dump.
    Please help on this.

    Hi,
    When you look in the dump you see on the begin somwere of the dump
    > here you see the reason for the dump, perhaps there is field what can help you to solve the problem.
    You can have a look with the programmer and or create a message to SAP support.
    Paul

  • Invalid Time Interval error

    Hi Friends,
    I am loading HR data from Source. It loaded correctly without issues upto  PSA and when i trigger the DTP from the PSA to the IO 0EMPLOYEE,  I am getting the following error.
    "0EMPLOYEE : Data record 25 ('00001028 ') : Invalid time interval '['20070731'/'20070527'] '[from/to]     RSDMD     189".
    It shows about 7 entries in the error for employee 00001028.
    When i check the data in PSA the from and to Values are correct.
    Person           Start Date        End Date
    1028              01.10.2002      26.05.2007
                          27.05.2007      31.07.2007
                          01.08.2007      31.01.2008
                          01.02.2008      29.02.2008
                          01.03.2008      27.09.2008
                          28.09.2002      31..12.2008
                          01.01.2009      31.12.9999
    So, the from Data and to Date is correct yet I am getting the Invalid Time Interval error and my data load is failing.
    It is happening for a all the records.
    Can someone please tell me /suggets me how to resolve this issue?.
    Yore help is appreciated.
    Regards
    BN

    Hi,
    Please check the note:
    310304 -> DATETO/DATEFROM:Extracting time-dependent master
    http://help.sap.
    com/saphelp_nw70/helpdata/en/13/c3e7379899d06fe10000009b38f8cf/frameset.
    htm
    It should resolved your issue.
    Thanks,
    Venkat

  • How to convert time stamp to time in update rule

    Anybody know how to convert time stamp to time only?  Any FM that I can use?
    time stamp example
    20010203100201
    Result:
    10:02:01
    Thank
    Sudree

    Please search the forum

  • Error when converting time stamp in date time time zone CST  in IC

    Hi Experts,
    We have recently upgraded from CRM 5.0 to CRM 2007. We are using IC WEB Employee interaction center.
    so when agent create service ticket in interaction center and close the ticket on same day we are getting an error saying Error when converting time stamp in date time time zone CST.
    we thought there may be problem while installing SAP CRM by basis team in time zone, but we did not find any problem.
    So please advice how to resolve this issue.
    Regards,
    Teja

    Hi Teja,
    I saw a similar message, and it was resolved by adding a timezone to the user profile defaults tab in SU3. I believe the system has been configured to convert between users' timezone and the system timezone, therefore it needs to know each users' timezone.
    Regards,
    Simon.

  • Converting Time format to Decimal Value

    Dear All,
    How to convert time to decimal value for substraction of time and decimal value
    for eg l_time type tims
           l_dec type p.
    l_diff = l_time - l_dec
    Kindly let me know.
    Thanks in Advacne,
    Ranjan

    Hi,
    Try like this...
    PARAMETERS : tim TYPE tims,
                 y TYPE p.
    DATA : t TYPE string,
           t1 TYPE string,
           t2 TYPE string,
           t3 TYPE string.
    START-OF-SELECTION.
      t = tim(2).
      t  = t * 3600. " hours to second
      t1 = tim+2(2).
      t1 = t1 * 60.  " minutes to second
      t2 = tim+4(2).
      t3 = t + t1 + t2. " total time in second
      t3 = t3 - y.
    Regards
    Debarshi

Maybe you are looking for

  • Error:iPhone can't be used 'cos the required software is not installed...

    When I connect my iPhone 3G to iTunes i get this error message; 'This iPhone cannot be used because the required software is not installed. Run the iTunes installer to remove iTunes, then install iTunes again.' I have done what it says several times

  • How to create 3D bar?

    I want to draw 3D bar,it's top level is smaller than bottom level,and there is many levels in this bar, and there is effect graphics: http://www.soulbath.com/intro.html,I think I shoud use some math models to create 3D bar,anyone could tell me which

  • Calendar web part in SP2007

    Hi, there - I want to create (or find) a Web Part I can use to link to a standard calendar and display a month's worth of dates at a time. It would be a splendid bonus if any date containing an event would display in bold. It should look like the mon

  • Can i keep zoom locked in?It is always too small to read

    On IE8 I can keep my zoom on 150 per cent all the time,can I do anything similar on firefox?

  • HELP Identify this MP3 play

    Hey guys, I have had this Creative MP3 player for about a year now. After trying to put up with the pethetic battery life (30mins!) I would like to know what is wrong with it. But I can't even do that because I don't even know what it is called! I ha