Convert hr:mm:ss to days

Hello,
Is there any FM to convert hr:mm:ss to days.
Eg. 240000 to 1 days; 120000 to 0.5 days.
Thanks,
Shreekant

Hello Shreekant,
May be this can help you.
[Convert :-  Minutes to Days:Hours:Minutes;
Thanks,
Jayant Sahu

Similar Messages

  • For iTunes experts! - My iTunes has been converting WMA files for 11 days!

    My question is: If I exit iTunes (i.e. Reboot my computer) and then go back to iTunes, will iTunes continue finishing the conversion process?
    My iTunes has been converting WMA files for 11 days now..
    It's converting my entire multi-thousand album collection from windows media player into iTunes.
    Will it start where it left off?
    Or, the dreaded, will it start all over again, causing thousands of duplicates in my new iTunes library?
    The ONLY status bar shows the current song, I have no idea which order it's going in or how much longer it has to go.
    I understood it would take a long time to convert the thousands of WMA files into iTunes format, but I have no way to know how much longer it will take, or if it's interupted what will happen!
    Thanks -
    - jb
    Message was edited by: jbmanz

    Understood. If I quit iTunes before it's done converting the files I had previously selected, it will not continue to convert the WMA's to iTunes format. I will have to re-select the songs I want converted.
    Now: What if I select the entire folder (containing all songs, some already converted into iTunes, others not yet converted) - will iTunes RE-Convert songs that it has already converted (therefore creating duplicates in my library)? Or is the software able to recognize that an identical entry is already in its library index?

  • Converted Outlook to iCal - All day events messed up

    I converted Outlook calendar via O2M and imported it into iCal on iMac.  The all-day events are blocking up time from 12:00am to 12:00am rather than appearing in the all-day box at the top of the day.  When I click on the event, the "Make All-Day Event" selection is grayed out and I cannot select it.  The events are blocking up and crowding my calendar and I can't see anything.  I don't want to delete and re-enter all events. Just bought the iMac a week ago. What's the fix?

    Found this on another topic and it fixed my problem:
    Re: AppleScript to make All-Day Events? 
    Feb 2, 2006 1:28 AM (in response to Roger Barre)
    Hi Roger, This is fairly straighforward in Applescript. You could try something like the script below. Depending on the number of events in the calendar it's possible this could take time. The script should let you know when it's done. Just in case you don't like the result. Backup, just in case. In iCal go to File>Back up Database... and save your calendars. --Copy blue text into Script Editor (Applications > Applescript > Script Editor) , press Run and follow prompts. If you are happy with the results you could save it as an Application. 
    tell application "iCal"
    -- Select calendar
    set myCal to first calendar whose title is (item 1 of (choose from list (title of (every calendar) as list) with prompt "Choose calendar"))
    -- Loop through events
    repeat with myEvt in events of myCal
    -- Get start & end times of event
    set {startTime, endTime} to {start date of myEvt, end date of myEvt}
    -- Check start and end hours & mins
    set hoursAndMins to {hours of startTime, minutes of startTime, hours of endTime, minutes of endTime}
    -- See if start and end time are midnight, if so set to all day.
    if hoursAndMins is equal to {0, 0, 0, 0} then set allday event of myEvt to true
    end repeat
    display dialog "Done all day events"
    end tell Best wishes John 
    Mac OS X (10.4.4)

  • Convert "x milliseconds" to "A days B hours C minutes D seconds"

    I'm trying to find an elegant way to convert:
    "X milliseconds" pattern to "A days B hours C minutes D seconds"
    Currently, I use multiplication and division to get the desired result.
    But I was investigating if there's a way to do this using java class?
    Thanks in advance for the help

    What is your definition of a "day" and what other requirements are there? What does this hope to accomplish? If you define a day as 24 hours and couldn't care less about it's corrolation with a calendar then you're not talking about a Date anymore. The best way to accomplish that is probably to use division, which you said is what you're currently doing. If you actually want to calculate when something occurred on a calendar or how many calendar days, weeks, months or years have elapsed since then that's another matter entirely. You might store the time when it started and use that with a Calendar, or you might simply get the current time and subtract the elapsed time to find how long ago that was on a calendar.
    You really needed to give more details, but at this point you've got an answer to just about every possibility.

  • Converting HR from Hours to Days

    Our system was recently set up to calculate vac time in hours. We are thinking we may want the system to show days instead since we are not manufacturing and have no need to track in hours and the hours is just causing confusion. Does anyone know how difficult/time consuming it would be to change the HR system or what the steps are to get this done and are there any problems that we would encounter in doing this type of change?

    Hello
    First To Change the hours to days you have to change in PCR XPPF
    First go to PE02
    Make Z copies of following PCR's
    XPPF--ZPPF
    XPP0---ZPP0
    XPPP--ZPPP
    XPP1--ZPP1
    Now In XPP1, in standard you can see RTE=TSSOLL, make it change to TKSOLL; if you are using Partial Payment factor /801 and /802 as well than make change for both wage types
    These are changes in XPP1.
    RTE=TKSOLL-------Change this line
    RTE-TKAU**----
    Change this line
    RTE*KGENAU
    RTE/TKDIVI-----change this line
    ADDWT *
    Rest Assign your Z to ZPP0
    It will Work
    Good Luck
    Syed
    One Important Point Please tell me do u have Half day leaves? Or do u have any deduction if employee come late?
    By changing above Late hour deduction will not work If you have that than tell me i will send you detail to change for its working
    Regards
    Syed
    Edited by: Syed Baddar Abbas Rizvi on Feb 7, 2008 9:12 AM

  • Have not been able to convert a file for 2 days... gives me this code: InvalidDMITicket

    I have not had this problem before!  But when I have been trying to upload my file to acrobat - it takes at least 1 hour and then gives me this error code:   InvalidDMITicket  - I have tried at least 10 times - and I am exhausted.  I want to upload the file so that I can post it on my website for my readers, but this is killing me - help!!!!  What can I do?
    Any help is more than welcome....please.

    I have been having the exact same issue . I have many files, larger in size that I have loaded in the past, but for the past two weeks I have not been able to load a 43 Mb .pdf file? takes forever then right as the virus scan starts, it gives the code InvalidDMITicket!!!! Everytime! I was able to load a small 2 Mb .pdf file, but I can not load any other of larger size???? Please help me..........

  • How to convert days in difference in hours

    Hello,
    I have a need to convert time difference in two days and translate into hours. How do I do that?
    For e.g. query below
    select  to_char(sysdate, 'MM/DD/YYYY HH:MI:SSAM') - to_char(sysdate-10, 'MM/DD/YYYY HH:MI:SSAM')) from dualthe difference between sysdate and sysdate-10 should result in hours not days.
    Any idea?
    Thanks,
    D

    Hi,
    user13409519 wrote:
    Hello,
    I have a need to convert time difference in two days and translate into hours. How do I do that?You're asking for hours, not days, hours, minutes and seconds, right?
    For e.g. query below
    select  to_char(sysdate, 'MM/DD/YYYY HH:MI:SSAM') - to_char(sysdate-10, 'MM/DD/YYYY HH:MI:SSAM')) from dual
    You can only subtract NUMBERs or DATEs. TO_CHAR returns a VARCHAR2
    the difference between sysdate and sysdate-10 should result in hours not days.Get the difference in days, and then multiply by the number of hours per day, that is, 24:
    SELECT     24 * (dt2 - dt1)     AS hours_dif
    FROM     table_x
    ;shows the number of hours from d1 to d2. If d2 is earlier than d1, the number will be negative.
    I hope this answers your question.
    If not, post a little sample data (CREATE TABLE and INSERT statements, relevant columns only) for all tables involved, and also post the results you want from that data.
    Explain, using specific examples, how you get those results from that data.
    Always say which version of Oracle you're using.
    See the forum FAQ {message:id=9360002}

  • How to Convert years into days.

    Hi,
    I had secenario to convert a years in to days. Number of years should be more than one.
    Leap year need to be considered in this calculation. Can any one suggest this?

    something like
    SQL> with test as
      2  (select to_date ('01-01-2004', 'dd-mm-yyyy') from_date
      3        , to_date ('31-12-2004', 'dd-mm-yyyy') + 1 to_date
      4     from dual union all
      5  select to_date ('01-01-2010', 'dd-mm-yyyy') from_date
      6       , to_date ('31-12-2010', 'dd-mm-yyyy') + 1 to_date
      7    from dual
      8  )
      9  select from_date
    10       , to_date
    11       , to_date - from_date days_diff
    12    from test
    13  /
    FROM_DATE   TO_DATE      DAYS_DIFF
    1-1-2004    1-1-2005           366
    1-1-2010    1-1-2011           365

  • I downloaded adobe reader XI Free trial for 30 days and want to try Convert to DOC function but fail, please help!

    When I click the button Subscribe now, it return: "Sorry, this Adobe product is currently not available for sale in your country."
    That means I cannot Convert to DOC function??

    Adobe Reader is free; there is no trial.
    Regarding the ExportPDF service; see https://forums.adobe.com/docs/DOC-2596
    If ExportPDF is not available in your country, you will need to use Acrobat to convert; there is a 30-day trial available for Acrobat.
    If you do have the Acrobat trial install, make sure you open the PDF to convert in Acrobat, not Adobe Reader.

  • Service Requests-Business days when year changes

    Hi All,
    I am trying to calculate for how long a SR has been open in business days only.
    I have successfully used Mike Lairson's formula for the last 9 months but it seems it cannot cope with year changes. If the begin data is in 2009 and the end date in 2010, the results are not correct anymore.
    E.G. For an SR that was opened on 12/30/2009 and closed on 01/05/2010 should return 5 business days but it is actually returning 110.
    The syntax that I used so far is:
    (CASE
    /* Convert Sunday to the Business Day Of the Year */
    WHEN DAYOFWEEK("Service Request"."Closed Date and Time") = 1
    THEN (DAYOFYEAR("Service Request"."Closed Date and Time") - WEEK("Service Request"."Closed Date and Time")) -
    (WEEK("Service Request"."Closed Date and Time") - 2)
    /* Convert Saturday to the Business Day Of the Year */
    WHEN DAYOFWEEK("Service Request"."Closed Date and Time") = 7
    THEN (DAYOFYEAR("Service Request"."Closed Date and Time") - WEEK("Service Request"."Closed Date and Time")) -
    (WEEK("Service Request"."Closed Date and Time") - 1)
    /* Convert Mon-Fri to the Business Day Of the Year */
    ELSE (DAYOFYEAR("Service Request"."Closed Date and Time") -
    WEEK("Service Request"."Closed Date and Time")) +
    (2 - WEEK("Service Request"."Closed Date and Time")) END)
    (CASE
    /* Convert Sunday to the Business Day Of the Year */
    WHEN DAYOFWEEK("Service Request"."Opened Date") = 1
    THEN (DAYOFYEAR("Service Request"."Opened Date") -
    WEEK("Service Request"."Opened Date")) -
    (WEEK("Service Request"."Opened Date") - 2)
    /* Convert Saturday to the Business Day Of the Year */
    WHEN DAYOFWEEK("Service Request"."Opened Date") = 7
    THEN (DAYOFYEAR("Service Request"."Opened Date") -
    WEEK("Service Request"."Opened Date")) -
    (WEEK("Service Request"."Opened Date") - 1)
    /* Convert Mon-Fri to the Business Day Of the Year */
    ELSE (DAYOFYEAR("Service Request"."Opened Date") -
    WEEK("Service Request"."Opened Date")) +
    (2 - WEEK("Service Request"."Opened Date"))
    END)
    +
    /* Adjust for Year Change */
    (365 * (YEAR("Service Request"."Closed Date and Time") -
    YEAR("Service Request"."Opened Date")))
    Any ideea or hint would be highly appreciated.
    Thank you.
    Regards,
    Dorin
    Edited by: user805960 on 06.01.2010 07:07

    Hi,
    i used this formula to find out the days it calculates between 31/12/2009 and 01/01/2010, the result it gave was 106 days.
    So i subtracted 106 from 365 days (365-106=259)in the formula, the formula is now giving the correct values.
    I think we have to add the total working days and not the no.of days in a year.
    Please can you all reconfirm the results.
    Thanks
    Neena
    Edited by: NNK on Jan 11, 2010 3:16 PM

  • Working Days

    Hi All,
    I have posted a similar post in the reporting forum as i'm looking at ways to handle non-working days within SR SLA's.
    For example, a Service Request is raised on Friday and I would like the number of days to close that service request to exclude Saturday and Sunday? Obviously there is no working days calender in CRM On Demand so i'm just going to ignore bank holidays etc for now. I was thinking one option being the creation of a new field on the SR entity which date stamps when the SR should be completed by. This would be calculated based on a few factors which is fine. but if this falls over a weekend the date would be inaccurate, any ideas?
    Thanks
    Oli @ Innoveer

    I have used the following in Reporting, it might have some value to your requirements.
    Okay, if your report is using the Service Request History subject area, use this code exactly:
    (CASE WHEN /* Convert Sunday to the Business Day Of the Year */
    DAYOFWEEK("Service Request"."Closed Date and Time" )=1
    THEN (DAYOFYEAR("Service Request"."Closed Date and Time")-WEEK("Service Request"."Closed Date and Time"))-(WEEK("Service Request"."Closed Date and Time")-2) /* Convert Saturday to the Business Day Of the Year */
    WHEN DAYOFWEEK("Service Request"."Closed Date and Time" )=7
    THEN (DAYOFYEAR("Service Request"."Closed Date and Time")-WEEK("Service Request"."Closed Date and Time"))-(WEEK("Service Request"."Closed Date and Time")-1) /* Convert Mon-Fri to the Business Day Of the Year */
    ELSE (DAYOFYEAR("Service Request"."Closed Date and Time")-WEEK("Service Request"."Closed Date and Time"))+(2-WEEK("Service Request"."Closed Date and Time")) END)
    - (CASE WHEN /* Convert Sunday to the Business Day Of the Year */
    DAYOFWEEK("Service Request"."Opened Date" )=1 THEN (DAYOFYEAR("Service Request"."Opened Date")-WEEK("Service Request"."Opened Date"))-(WEEK("Service Request"."Opened Date")-2) /* Convert Saturday to the Business Day Of the Year */ WHEN DAYOFWEEK("Service Request"."Opened Date" )=7
    THEN (DAYOFYEAR("Service Request"."Opened Date")-WEEK("Service Request"."Opened Date"))-(WEEK("Service Request"."Opened Date")-1) /* Convert Mon-Fri to the Business Day Of the Year */
    ELSE (DAYOFYEAR("Service Request"."Opened Date")-WEEK("Service Request"."Opened Date"))+(2-WEEK("Service Request"."Opened Date"))
    END) + /* Adjust for Year Change */ (365 * (YEAR("Service Request"."Closed Date and Time")-YEAR("Service Request"."Opened Date")))
    If your report is using the Service Request subject area, use this code exactly:
    (CASE WHEN /* Convert Sunday to the Business Day Of the Year */
    DAYOFWEEK("Service Request"."Closed Date and Time" )=1
    THEN (DAYOFYEAR("Service Request"."Closed Date and Time")-WEEK("Service Request"."Closed Date and Time"))-(WEEK("Service Request"."Closed Date and Time")-2) /* Convert Saturday to the Business Day Of the Year */
    WHEN DAYOFWEEK("Service Request"."Closed Date and Time" )=7
    THEN (DAYOFYEAR("Service Request"."Closed Date and Time")-WEEK("Service Request"."Closed Date and Time"))-(WEEK("Service Request"."Closed Date and Time")-1) /* Convert Mon-Fri to the Business Day Of the Year */
    ELSE (DAYOFYEAR("Service Request"."Closed Date and Time")-WEEK("Service Request"."Closed Date and Time"))+(2-WEEK("Service Request"."Closed Date and Time")) END)
    - (CASE WHEN /* Convert Sunday to the Business Day Of the Year */
    DAYOFWEEK("Service Request"."Opened Date and Time" )=1 THEN (DAYOFYEAR("Service Request"."Opened Date and Time")-WEEK("Service Request"."Opened Date and Time"))-(WEEK("Service Request"."Opened Date and Time")-2) /* Convert Saturday to the Business Day Of the Year */ WHEN DAYOFWEEK("Service Request"."Opened Date and Time" )=7
    THEN (DAYOFYEAR("Service Request"."Opened Date and Time")-WEEK("Service Request"."Opened Date and Time"))-(WEEK("Service Request"."Opened Date and Time")-1) /* Convert Mon-Fri to the Business Day Of the Year */
    ELSE (DAYOFYEAR("Service Request"."Opened Date and Time")-WEEK("Service Request"."Opened Date and Time"))+(2-WEEK("Service Request"."Opened Date and Time"))
    END) + /* Adjust for Year Change */ (365 * (YEAR("Service Request"."Closed Date and Time")-YEAR("Service Request"."Opened Date and Time")))
    I have verified that both formulas are error free when used in the correct subject area... the column that you start with does not matter... just be sure to completely blank the existing formula before pasting in this one.

  • Converting from WORD to pdf always fails the first time

    OS is XP. Acrobat Pro 8.1.5. When I first convert from WORD, EXCEL, whatever the program appears to be working but no file is created.  This happens always on the first time I convert to pdf for the day.  Once I do it again, it works and continues to work throughout the day.  I turn off my computer at night and again the next day when I come in it doesn't convert the first time but will work again.  Is there something in Windows or Acrobat that I can fix to get this to work properly?

    If you are using Word 2007 (you don't say) you might try the Microsoft plugin... this is instead of Acrobat
    http://www.microsoft.com/downloads/details.aspx?FamilyId=4D951911-3E7E-4AE6-B059-A2E79ED87 041&displaylang=en
    If you are using an earlier version of Word (or Word '07) make sure you have installed all Microsoft Office updates, so you'll know this is not a Microsoft bug

  • Error converting Word document to .pdf

    Hi,
    The office staff here has a couple of custom templates that they've been using for several years now to generate company letters. The company was bought by another firm, and about two weeks ago this office's network was attached to the new company's domain; login scripts were changed, security permissions, desktop settings, and so forth. Since that time, staff has been unable to convert their documents. Monday I started digging into the problem and found an Adobe Knowledgebase article referencing corrupted .icc files at this link:
    http://kb.adobe.com/selfservice/viewContent.do?externalId=328791
    The error referenced was not exactly the same, but it was the closest thing I've been able to find, so I decided to give it a shot.
    Late Monday I went through the steps in the article on one of the problem workstations, and the error went away - was able to do seven or eight conversions successfully, so I saved the files and instructions for use the next day. Yesterday I started to do the same process on the other three workstations, but it had no effect on them, and in the middle of this, I was notified that now the first workstations has stopped working again, also - it was neither turned off nor rebooted overnight, but the same error is appearing again. Repeating the process from the day before does nothing now to correct the error, nor can I convert the *same test document* that I converted successfully multiple times the day before. Hopefully someone can point me in a direction to start looking.
    Machines: Dell and HP, various hardware.
    Example: Dell Pentium 4, 3.20 GHz, 3.00 GB RAM
    OS: Windows XP Pro, v2002, SP2
    MS-Word 2003 SP2
    Adobe Acrobat 6.0 Standard, v6.0.6
    Adobe Distiller v6.0.1
    Inside Word, Adobe Conversion Settings:
    Use prologue.ps and epilogue.ps
    Conversion Settings file: Custom template settings (standard doesn't work, either)
    Enable accessibility & reflow with tagged PDF is checked
    Compatibility - Acrobat 5.0
    Color settings file - "None" (some machines have Web Standard selected, which also doesn't work.)
    Color management policies - Leave color unchanged
    Imbed fonts - checked on two W/S, one has several fonts excepted
    - unchecked on two W/S
    Process:
    Letter template has macros which insert a logo in the document at print time, check tables, do calculations, check for "forbidden words". Template also contains a TOC. To test this, I simply open Word, make sure the macros are loaded (since the login scripts changed, this has to be done manually,) and create a new document from the proper template. There is a startup macro that can be simply bypassed (all it does is allow operator to change the office location, otherwise just leave the default,) and then from the "Adobe PDF" option on the Word menu bar, select "Convert to PDF". If the complete conversion runs, this may take up to a couple of minutes to finish, then the converted document is opened in Acrobat. What happens now is that the conversion process starts, then the process bar hangs for a few seconds and we get a messagebox stating: "Adobe pdf printer failed to create the pdf file"
    Most of the time, it doesn't seem to produce an errorlog, but if it does, this is what I see in the log:
    %%[ ProductName: Distiller ]%%
    %%[ Error: undefined; OffendingCommand: pdfmark ]%%
    Stack:
    [{FMSMColorLogo}]
    [{FMSMColorLogo}]
    -mark-
    %%[ Flushing: rest of job (to end-of-file) will be ignored ]%%
    %%[ Warning: PostScript error. No PDF file produced. ] %%

    Try printing to the Adobe PDF printer. That may give a work around. I noticed that there was a pdfmark error. PDFmarks are added to the output file by PDF Maker prior to being sent to Distiller. That is how all of the links and such are transferred with PDF Maker. It is worth trying to take that out of the loop and see what happens. It almost seems like the folks that took over wiped out some of your logos and such, but there may be something much simpler at work.
    Don't you just love corporate takeovers! I guess you can't comment though. Your link seems to discuss some related issues. It may be that access to specific settings files that may have been customized may have been lost or those profiles were deleted.
    So much for my ranting with guesses. Hopefully I gave you some useful thought items. Bill

  • How do I add 364 days to a date?

    HI,
    I'm trying to add 364 days to a date on a form I've created.
    I've tried this method using form calc on the EndDate field but no success, just errors.
    EndDate=Date(InvoiceDate.getFullYear(),InvoiceDate.getMonth(),InvoiceDate.getDate()+364)
    Can anyone help please?

    The "InvoiceDate" is a character string and not the number of days from the epoch date for the "InvoiceDate". You first have to convert the "InvoiceDate" character string value to the number of days since the epoch date by using the "Date2Num()" function. Once you have the "InvoiceDate" as the number of days since the epoch date you can add the additional days before using the "Num2Date()" function to convert the adjusted number of days back to a date string.

  • Convert to lower bitrate hangs on some songs

    I recently had to restore an iPod classic. While syncing, I told it to convert all songs to lower bitrate (128 kbps). I've performed  this operation before without mishap, but this time, some songs appear to take MUCH longer to convert (on the order of day for an individual song). At the moment, it has restarted a sync, and it's working on song 5 of 18000. Songs 1-4 went at a normal rate, but song 5 has been working for 2 hours, with my processor (2 core i5 w/ HT) working at 300% on the iTunes process.
    If I remove the song in question (something titled "Intro"), iTunes proceeds along, and hangs on another song in a similar manner. If I uncheck the requirement to convert to lower bitrate, the sync proceeds normally and all of the songs make it onto the iPod.
    Is this a problem with iTunes 11? Or should I be looking at an issue with my individual files? My library is composed of a variety of formats, from 128kbps iTMS files to ALAC CD-rips. If I can avoid it, I'd like to avoid converting the whole library down to 128 or 256kbps AAC and then dealing with duplicates. Any advice?
    Thanks,
    Dustin

    I am experiencing a similar issue with a 5th generation ipod nano.

Maybe you are looking for

  • Iphone 4, App store showing 2 updates, but when I go into the app store it says all apps are up to date.

    I have an Iphone 4, IOS version 6.1.3.  My app store badge is showing 2 updates, but when I go into my app store, it tells me all apps are up to date.   I've tried several of the fixes that others have who have had simular issues,  but so far, I havn

  • MY IPOD IS NOT CONNECTING TO THE COMPUTER BUT IT CHARGES

    everytime i connect my iPod to the computer a massage appers says that there are problems with the apple mobile device service is not started. how can i fix that?

  • PPR in Service Order

    Hello, does anybody have an idea, how to activate PPRs for Service Orders. I can customize them for Service Contracts, this is fine, but I also need them in Service Orders (which are not linked to a Service Contract). I checked the possibility of Pro

  • Slide show on a CD

    I am in the process of scanning approx 500 slides from my days in the USAF. What I would like to do is move the scanned jpegs into iPhoto 5 after I have "improved" them using Elements. Is it possible to make a slide show of just these jpegs in iPhoto

  • Looking for updateTask, delegateTask samples

    Hi all, I'm looking for some complete and good samples of how to use updateTask, deletegateTask, ... in workflow context (BPEL manager or java API). The scenario is quite simple: - a user U1 has to complete a task - after a while, if U1 does not comp