Convert days into days, hours and minutes

Hi,
In my report there is a column "# of Days (Submitted to Completed)" and the result I am getting is like 2.4, 3.5, 1.8 etc. Client requirement is to convert 2.4 days into days, hours and minutes (2 days 9 hours 36 minutes)
The value of "# of Days (Submitted to Completed)" is calculated during ETL.
Can you please tell me how to achieve this result.
Thanks

Create a formula where you could use the CAST function and calculate for the remainder by multiplying 24 for hours and 60 for minutes.

Similar Messages

  • How do I get a time value in days, hours and minutes returned to a cell from a calculation of distance divided by speed?

    How do I get a time value in days, hours and minutes returned to a cell from a calculation of distance divided by speed?

    Simon,
    you can use the duration function:
    B4=DURATION(0,0,B1/B2)
    you can further, format the cell as a duration like this using the cell inspector:

  • How to convert decimal numbers to Hours and minutes

    Hi,
    I am using SSRS 2005. I want to convert decimal numbers to Hours and minutes.
    Say suppose, I am adding daily work hours and minutes and the total is 208.63.
    Here 208 hrs and 63 minutes. How to convert this to 209 hrs 03 minutes in SSRS.
    Any In-built function is there? or how to do using custom code?
    Appreciate your help.
    Regards,
    Bala

    suppose if field name is TotalDailyHours you can do it as below
    =CStr(Cint(Floor(val(Fields!TotalDailyHours.Value)) + ((val(Fields!TotalDailyHours.Value)-Floor(val(Fields!TotalDailyHours.Value)))*100)/60)) + ":" +
    Right("00" +Cstr(Cint(((val(Fields!TotalDailyHours.Value)-Floor(val(Fields!TotalDailyHours.Value)))*100) Mod 60)),2)
    Please Mark This As Answer if it helps to solve the issue Visakh ---------------------------- http://visakhm.blogspot.com/ https://www.facebook.com/VmBlogs

  • How do I convert time from hours and minutes to decimal time

    I am making a spread sheet a work for payroll. I need to make a formula that converts the time from hours and minutes to decimal time. Please help

    Hi Taryn,
    I can't see much from the photo, but I assume your formula is similar to the one I've used below:
    The same formula is used in F4 and F6, and both return the same result (shown in F4).
    F4 was left on "automatic" cell format, and the column widened to accomodate the repeating decimal to the point where Numbers would begin displaying zeros.
    F6 was formatted as shown in the Cell Inspector to show only two decimal places.
    Neither of these is an "exact" decimal, as it is not possible to use a decimal fraction to "exactly" represent 1/6 (or 10/60).
    The likely reasons for yours showing a whole number of hours is a difference between your formula and the one shown in the example here, or a difference in the number of decimal places set in the cell's format.
    Regards,
    Barry
    PS: To take a screen shot:
    Place the mouse pointer at the top left corner of the area you want to nclude in the shot.
    Press shift-command-4.
    Use the mouse to drag a selection rectangle contining the part of the screen you want to include.
    Release the mouse button. (You'll hear the sound of a camera shutter 'snapping' the picture.)
    The screen shot will be saved to your desktop with the name 'screen shot' followed by the date and time.
    The image may be posted to the discussion using the same steps you used to post the photo above.
    B.

  • How do you calculate difference in time (hours and minutes) between 2 two date/time fields?

    Have trouble creating formula using FormCalc that will calculate difference in time (hours and minutes) from a Start Date/Time field and End Date/Time field. 
    I am using to automatically calculate total time in hours and minutes only of an equipment outage based on a user entered start date and time and end date and time. 
    For example a user enters start date/time of an equipment outage as 14-Oct-12 08:12 AM and then enters an end date/time of the outage of 15-Oct-12 01:48 PM.  I need a return that automatically calculates total time in hours and minutes of the equipment outage.
    Thanks Chris

    Hi,
    In JavaScript you could do something like;
    var DateTimeRegex = /(\d\d\d\d)-(\d\d)-(\d\d)T(\d\d):(\d\d)/;
    var d1 = DateTimeRegex.exec(DateTimeField1.rawValue);
    if (d1 !== null)
        var fromDate = new Date(d1[1], d1[2]-1, d1[3], d1[4], d1[5]);
    var d2 = DateTimeRegex.exec(DateTimeField2.rawValue);
    if (d2 !== null)
        var toDate = new Date(d2[1], d2[2]-1, d2[3], d2[4], d2[5]);
    const millisecondsPerMinute = 1000 * 60;
    const millisecondsPerHour = millisecondsPerMinute * 60;
    const millisecondsPerDay = millisecondsPerHour * 24;
    var interval = toDate.getTime() - fromDate.getTime();
    var days = Math.floor(interval / millisecondsPerDay );
    interval = interval - (days * millisecondsPerDay );
    var hours = Math.floor(interval / millisecondsPerHour );
    interval = interval - (hours * millisecondsPerHour );
    var minutes = Math.floor(interval / millisecondsPerMinute );
    console.println(days + " days, " + hours + " hours, " + minutes + " minutes");
    This assumes that the values in DateTimeField1 and DateTimeField2 are valid, which means the rawValue will be in a format like 2009-03-15T18:15
    Regards
    Bruce

  • How to set just hour and minute to a Calendar object and do comparsion

    hi there
    can anyone show me how to just set the time : hour and minute to a calendar obj and do comparion? for instance, compare mid night with 7:24pm, how do i create objects to do it? thanks

    Or I'll just post them here to save the trouble...
        Calendar xmas = new GregorianCalendar(1998, Calendar.DECEMBER, 25);
        Calendar newyears = new GregorianCalendar(1999, Calendar.JANUARY, 1);
        // Determine which is earlier
        boolean b = xmas.after(newyears);            // false
        b = xmas.before(newyears);                   // true
        // Get difference in milliseconds
        long diffMillis = newyears.getTimeInMillis()-xmas.getTimeInMillis();
        // Get difference in seconds
        long diffSecs = diffMillis/(1000);           // 604800
        // Get difference in minutes
        long diffMins = diffMillis/(60*1000);        // 10080
        // Get difference in hours
        long diffHours = diffMillis/(60*60*1000);    // 168
        // Get difference in days
        long diffDays = diffMillis/(24*60*60*1000);  // 7

  • Hour and minut in table

    Hi!
    I'd like to display hour and minute (HH:mm) in my table, inserted like this Date d = new SimpleDateFormat("HH:mm").parse("14:04");,
    but it displays whole date like "Mon Jul 12 14:04:00 CET 2010". How can I make it to display my format?

    java.util.Date only contains only the number of milliseconds since midnight 1/1/1970 (the epoch). It contains no formatting information so once converted to a Date the format of the original is lost. java.util.Data has a toString() method which prints out in a standard Locale specific format. If you want any other format then use a SimpleDateFormat to create a String representation.
    P.S. I would never use a java.util.Date object to hold a time difference (other than a time relative to the epoch).

  • I am wondering what upgrades I need in order to convert PDFs into another format and compress the size of a PDF (if this is possible)?

    I want to be able to convert PDFs into another format and I know this can be achieved with a small upgrade. However I am also looking for the ability to compress the size of PDFs, if this is at all possible.

    You can use Acrobat Standard for this.

  • Total hours and minutes

    can't find the formula to add a column of hours and minutes
    any suggestion greatly appreciated
    thanks

    http://discussions.apple.com/thread.jspa?messageID=8746386
    Yvan KOENIG (from FRANCE mardi 3 mars 2009 21:14:23)

  • The time when the PI doc is counted ,I want see the hour and minutes ,

    HI  experts ,
    How can I find when the physical inventory doc had been created ,counted and posted , by hour and minutes ,    the date is not enough .
    Thanks in advance .

    we use MI31 for create Physical inventory doc.
    as a matter of fact ,  what I most want to know is when the count quantity is entered by hour and minutes , because the book quantity in the Physical inventory doc is extract from MBEW table when the count quantity is first entered.After that the book quantity never updated .  So it's necessary to konw the exact time when the count quantity is entered , then we can do the right analysis of physical inventory difference.

  • I/p field to accept hours and minute only

    Hi all,
    i need to know that if i want a field to accept only hours and minute in dialog programming. how do i proceed...
    Thanx in advance.
    it is urgent.

    Declare the field of type integer & define the width of the field

  • How can I change the timer in the clock app to minutes and seconds instead of hours and minutes?

    Is it wishful thinking or a false memory? It seems like there used to be a way to change the timer function of the clock from hours and minutes to minutes and seconds. I feel like there's a magic tap or secret swipe that I discovered but have forgotten.  Am I totally delusional?

    We may have to wait for an update.  Aside from changing the country, I'm not sucre this can be done.  There is no Health App in the System preferences and no  way to modify from within the app.  Weird.
    If you go to Language & Region under general settings and choose any other country, you will get Metric.  I have the opposite problem.  I live in a Metric country and want my health app to be in lbs and inches which is what I am used to.

  • Will Logic Pro X allow me to whistle a melody, convert that into MIDI information,and turn those notes into chords?

    I'd love to be able to whistle or hum a melody, convert that recording into MIDI data, and then have those notes play back as guitar chords. Is this possible "out of the box"?
    How much would be automated, and how much work would need to be done by hand?
    How about with Plug-Ins?
    Also, does Logic Pro X offer a one finger chord option for playing MIDI controllers? Thanks!

    good for you, Data... so you already know that, even if it would work, CORRECTING the automatically generated transcription takes longer than just writing it by hand, then inputing it into the computer... How about the joy of finding just the right changes to go with your great composition? The computer is dumb, it only comes up with what was programed into it, and that, at best, is mediocre. If one is happy with this, it only shows one's insecurity of the little knowledge that one might have. And definitely kills the creative initiative.
    Then, if you sincerily think that studying music is not necessary to make music... I really feel sorry for you... and I feel sorry for Music too. Or, maybe my cat is a great composer, and I didn't know it?...:-)

  • Convert PO into PDF format and send by an email to vendor

    We are using SAP version ECC 5.0. We want to convert SAP PO into PDF format and attached it in an email and send it to vendor. Please give me some tips to achieve this?
    Thanks in advance!
    Mrudula

    Hi!
    The way to achieve your goal depends on how you get PO printed - by sapscript, smartform or abap list.
    As have been mentioned you can create spool request and process it. But for sapscript and smartform you can proceed without spool request - just get back OTF data from corresponding FM and convert it to PDF.
    In case of smartform:
    CALL FUNCTION 'SSF_FUNCTION_MODULE_NAME'
    EXPORTING
    formname = 'ZFORMNAME'
    IMPORTING
    fm_name = v_form_name
    EXCEPTIONS
    no_form = 1
    no_function_module = 2
    OTHERS = 3.
    w_ctrlop-getotf = 'X'.
    w_ctrlop-no_dialog = 'X'.
    w_compop-tdnoprev = 'X'.
    CALL FUNCTION v_form_name
    EXPORTING
    control_parameters = w_ctrlop
    output_options = w_compop
    user_settings = 'X'
    IMPORTING
    job_output_info = w_return
    EXCEPTIONS
    formatting_error = 1
    internal_error = 2
    send_error = 3
    user_canceled = 4
    OTHERS = 5.
    i_otf[] = w_return-otfdata[].
    In case of sapscript:
    options-tdgetotf = 'X'.
    CALL FUNCTION 'OPEN_FORM'
    EXPORTING
    options = options
    CALL FUNCTION 'CLOSE_FORM'
    IMPORTING
    RESULT =
    RDI_RESULT =
    TABLES
    otfdata = i_otf
    EXCEPTIONS
    unopened = 1
    bad_pageformat_for_print = 2
    send_error = 3
    spool_error = 4
    OTHERS = 5.
    Then convert to PDF
    DATA:
    pdf LIKE tline OCCURS 100 WITH HEADER LINE,
    v_len_in LIKE sood-objlen.
    CALL FUNCTION 'CONVERT_OTF'
    EXPORTING
       format                      = 'PDF'
       max_linewidth               = 132
      ARCHIVE_INDEX               = ' '
    IMPORTING
       bin_filesize                =  v_len_in
        TABLES
          otf                         = i_otf
          lines                       = pdf
       EXCEPTIONS
         err_max_linewidth           = 1
         err_format                  = 2
         err_conv_not_possible       = 3
         OTHERS                      = 4
    Then send as attachment as Max proposed.
    Regards,
    Maxim.

  • Converted WSDL into .java-files - and now?

    I should implement a client for an existing web service. All I have is a .wsdl-file of the web service to call.
    Therefore I used the eclipse's functionality to convert .wsdl into .java files, which generated some files for me, for example:
    - interface XXX extending java.rmi.Remote
    - interface XXXService extends javax.xml.rpc.Service
    - class XXXProxy implements XXX
    - class XXXServiceLocator extends org.apache.axis.client.Service
    - class XXXSoapBindingStub extends org.apache.axis.client.Stub implements XXX
    - class XXXRfcException extends org.apache.axis.AxisFault implements java.io.Serializable
    - class XXXRfcExceptions implements java.io.Serializable
    My question... what to do now? How can I get the service and call its functionality?
    Your help is really, REALLY appreciated...

    Hi,
    Write client application like below.
    public class Client{
    public static void main(String [] args) throws Exception {
    // Make a service
    XXXService service = new XXXServiceLocator();
    // Now use the service to get a stub which implements the SDI.
    AddressBook port = service.getAddressBook();
    // Make the actual call
    Address address = new Address(...);
    port.addEntry("Russell Butek", address);
    Thanks&Regards,
    M.Kumaraswamy.

Maybe you are looking for

  • Simple Java Question 2

    hey everyone! im stuck, on the math part. i need to add a formula to my applet, x = y*z, for example. For fixed values of y and z. So lets say y = 5 and z= 3. How do i get "15" to be displayed when an applet is started. I have looked through java.mat

  • BDC change log problem MM01

    Hi All, I had created a BDC on MM01 for creating materials in RIST from existing materials of RIMR. Everything went fine; however, the following issues were noticed in the change log: 1. When the material is created at RIST its copying the change log

  • Budget exceeded error message

    Hi, We are in SRM 5.0 ECS, with support pack 11. When a PO is created with account assignment category project statistical (WBS element), with value exactly matching the budget availability, PO gets created, however if tried doing any changes to the

  • What to Save to Make Space on Hard Drive

    I'm out of space on my internal hard drive and things have come to a crawl. I downloaded the nifty "Disk Inventory X" and it reveals many large files 2-4 GB. Some of them are iDVD files and some are iMovie files. How do I know what to save? If I made

  • Nokia E71 - reasons why it would not sync

    Hi, I've been getting a few complaints/queries as to why my users E71's are not syncing with thier exchange accounts, and was looking to compile a list of reasons why so that I know what to look for and what I can change/modify to show that it's not