Convert seconds to HHMMSS format

Hi All,
Is there any function module to convert given no. of seconds,  to HH:MM:SS format . If seconds lessthan 86400, then we convert it in straight forwad way by usoung MOD formula. If sec >= 86400 then also i need get in format 24:MM:SS format.
For example if sec = 86440, then after conversion format would be 24:00:40. Any FM to convert in this format. Please advise.
Thanks
Konda Reddy

http://www.google.co.in/#hl=en&q=ConvertsecondstoHHMMSS%2B+SAP&meta=&aq=&fp=2cf627ce33d082a9

Similar Messages

  • Converting seconds to minutes format

    Post Author: mwatson
    CA Forum: WebIntelligence Reporting
    How do you convert seconds to minutes in mm:ss format?

    Post Author: SKodidine
    CA Forum: WebIntelligence Reporting
    totext(truncate(/60),0,'','') & ":" & totext(remainder(,60),0,'','')

  • Convert seconds to [h]:mm:ss format on report text box

    I want to convert seconds to hh:mm:ss format on the report text box.
    I use =Format(Sum([MyTime])/(24*60*60),"hh:nn:ss"), but it does not work if the hours more than 24 hours, since the format is for  the time format for the day.
    I need the result shows more than 24 hours, because I want to show how many hours and minutes from my seconds value.
    I can use [h]:mm:ss for Excel that it gives me the total hours more than 24 hours.
    I tried to use the following to my text box
    Int((sum(MyTime)) / 3600) & Format(Int((sum(MyTime) / 60) Mod 60, "\:00") & Format(sum(MyTime) Mod 60, "\:00"),
    but for some reason it only shows seconds part without minute and hour part of the value.
    Your help and information is great appreciated,
    Regards,
    Souris,

    I want to convert seconds to hh:mm:ss format on the report text box.
    I use =Format(Sum([MyTime])/(24*60*60),"hh:nn:ss"), but it does not work if the hours more than 24 hours, since the format is for  the time format for the day.
    I need the result shows more than 24 hours, because I want to show how many hours and minutes from my seconds value.
    Hi sourises,
    You can use the next function. Place it in a general module.
    Function Sec_to_str(seconds)
    Dim uur As Integer
    Dim min As Integer
    Dim sec As Integer
    Dim cur_sec As Variant
    cur_sec = seconds
    If (IsNull(cur_sec)) Then
    Sec_to_str = Null
    Else
    sec = cur_sec Mod 60
    cur_sec = cur_sec \ 60
    min = cur_sec Mod 60
    cur_sec = cur_sec \ 60
    uur = cur_sec
    If (uur = 0) Then
    Sec_to_str = Format(min, "#0") & ":" & Format(sec, "00")
    Else
    Sec_to_str = Format(uur, "#0") & ":" & Format(min, "00") & ":" & Format(sec, "00")
    End If
    End If
    End Function
    Imb.

  • Converting seconds to hh:mm:ss format?

    Hi, can anyone help me with a formula in Webi XIR2 to convert seconds to hh:mm:ss in the result cell on the report level? Now we have results in the cells in seconds and should have this format: 00:04:12  for 0h 4min et 12 s.
    Thanks in advance.
    Laurent Peter

    Hi,
    If you want to do this at the report level then try the following.
    Create a new Variable and define it as:
    =FormatNumber(Floor(<Column_Name>/3600) ,"00") & ":" & FormatNumber(Floor(Mod(<Column_Name> ,3600)/60) ,"00") & ":" & FormatNumber(Mod(Mod(<Column_Name> ,3600) ,60) ,"00")
    In the above formula Column_Name is the attribute that displays the seconds.
    - Noman Jaffery

  • Converting seconds to HH:MM:SS

    Apologies if this has been answered already, but I'm simply trying to convert seconds to HH:MM:SS. If someone could point me to how Numbers can best handle that I'd appreciate it.
    Here's an example: The CSV I receive has a duration column that has the number 3718 in it, representing the total number of seconds. What I wish to see is it broken out to read 01:01:58.
    Thanks in advance.

    Hello
    I'm not sure that I understand well your question.
    Numbers is right: B2:B4 is not a number, it's a range of cells.
    Your formula is trying to use this range of cells as a number representing the minutes: it's meaningless. The number of minutes may be given two ways
    B2B3B4
    This way the formula would be =TIME(0,B2B3B4,0)
    an alternate way (more efficient) is
    SUM(B2:B4) (which means sum of the contents of every cell from B2 thru B4
    This way the formula would be =TIME(0,SUM(B2:B4),0)
    If you looked at the Help you would have read:
    TIME
    The TIME function converts hours, minutes, and seconds into a time format.
    TIME(hours, minutes, seconds)
    hours: The number of hours (using a 24-hour clock).
    minutes: The number of minutes.
    seconds: The number of seconds.
    Notes
    You can specify hour, minute, and second values greater than 23, 59, and 59, respectively. If the hours, minutes, and seconds add up to more than 24 hours, Numbers subtracts 24 hours repeatedly until the sum is less than 24 hours.
    If you don't wish to see the seconds appearing in the cell, apply the format Time > hh:mm
    I agree with most users about the need for enhancements about the time treatment, mainly the addition of a "Duration" format not limited to the range 0 thru 23:59:59.
    BUT for the questions asked in this thread no enhancements are required.
    The available tolls fit perfectly the needs … but of course, users must read the given explanations
    I'm always surprised to see guys paying to learn to use a bicycle and many other tools but reluctant to learn how to use softwares they are employing daily.
    I never accepted the well known acronym: RTFM (Read The Fu…g Manual).
    In fact I never read a manual, but I consult them when I need an info.
    I always thought that forums are here to respond to questions whose responce is not in the manuals (and they are sufficiantly numerous).
    Of course, it is often more time consuming to explain this advice than reproducing some lines from the manual but I think that no one may seriously use a tool begging the info for every task.
    We are assumed to be thinking beeings. Aren't we ?
    Of course the given formulas assumes that the time value is fitting the Numbers's requirements (from 0 thru 23:59:59)
    Yvan KOENIG (from FRANCE jeudi 3 janvier 2008 13:38:55)

  • How to convert sysdate to the format dd-mon-yyyy

    how to convert sysdate to the format dd-mon-yyyy

    <how to convert sysdate to the format dd-mon-yyyy>
    This question is better answered by thinking about about how Oracle dates work. SYSDATE is a pseudocolumn (function without any arguments) that returns a date value: it already is a date. Oracle date values are stored not as we see them, say 'DD-MON-YY', but as a series of bytes with the different date components from the millennium down to the second. We NEVER see dates as they are stored but use the formats for automatic conversion.
    To display a date the way you want use TO_CHAR() with an edit mask or as others suggested change your NLS_DATE_FORMAT (thought I advise against this as most systems use DD-MON-YY and porting queries from other systems or even OTN can easily break). To change a converted string back to a date use TO_DATE() with an edit mask.

  • Convert seconds to Days, hours, Minutes, Seconds in Reporting Services

    Hi Guys,
    Im currently reporting of an analysis services cube, however I have value which is in seconds and would like to report on this in reporting services as day:HH:MM:SS.
    Has anyone got any experience reporting in this format?
    Regards
    Dave

    Hi Dave,
    We can use custom code to convert seconds to HH:MM:SS
    Public Function Calculate(ByVal TotalSeconds as Integer) as String
    Dim Hours, Minutes, Seconds As Integer
    Dim Hour, Minute, Second As String
    Hours = floor(TotalSeconds/ 3600)
    IF Hours<10
       Hour="0" & Hours.ToString
    Else
       Hour=Hours.ToString
    End IF
    Seconds = TotalSeconds Mod 3600
    Minutes =floor( Seconds / 60)
    IF Minutes<10
       Minute="0" & Minutes.ToString
    Else
       Minute=Minutes.ToString
    End IF
    Seconds = Seconds Mod 60
    IF Seconds<10
       Second="0" & Seconds.ToString
    Else
       Second=Seconds.ToString
    End IF
    Return Hour & ":" & Minute & ":" & Second
    End Function
    Then we can use the expression to conver it.
    =Code.Calculate(Fields!Column.Value)
    The report looks like below:
    If you have any questions, please feel free to ask.
    Regards,
    Charlie Liao
    If you have any feedback on our support, please click
    here.
    Charlie Liao
    TechNet Community Support

  • Convert second to hh:mm

    PLEASE, IS THERE A EASILY METHOD TO CONVERT
    A 5 DIGIT NUMBER IN SECOND TO THE FORMAT
    HH:MM (HOUR AND MINUTE)
    THANKS

    <BLOCKQUOTE><font size="1" face="Verdana, Arial">quote:</font><HR>Originally posted by Carter:
    This solution is completely wrong.
    For example, if n = 7100, you should get an answer of 1:58 (rounded down to the nearest second). With the above method, you get an answer of 1:97.
    Try select floor(n/3600) | |':'| | round (mod (n, 3600) / 60) from dual;<HR></BLOCKQUOTE>
    Carter is right.In my apps,I use that as what Carter say.It works perfectly.
    null

  • I am on windows 8 platform, i used adobe elements to work on my image - the output is in dng format, how do i convert this to jpg format?

    i am on windows 8 platform, i used adobe elements to work on my image - the output is in dng format, how do i convert this to jpg format?

    When you make a DNG that's like making another raw file, so you will need to convert the DNG file just like your original raw. Don't use the Save button in the raw converter. That's just a link to the DNG converter. Normally you would click Open instead and then save in the editor as a jpg or other image format of your choice.

  • How to upload a PDF file and convert it to OTF format

    We have come across rquirements like converting OTF to PDF but my requirement is to read a PDF file in SAP and convert it to OTF format for printing.
    Can anyone please help me with the Function Modules to do so.

    Hello,
    Try the following FM:
    CONVERT_OTF Convert SAP documents (SAPScript) to other types.
    Example:
    CALL FUNCTION "CONVERT_OTF"
    EXPORTING FORMAT = "PDF"
    IMPORTING BIN_FILESIZE = FILE_LEN
    TABLES OTF = OTFDATA
    LINES = PDFDATA
    EXCEPTIONS ERR_MAX_LINEWIDTH = 1
    ERR_FORMAT = 2
    ERR_CONV_NOT_POSSIBLE = 3
    OTHERS = 4.
    Hope this helps.
    Reward if helpful.
    Regards,
    Vasanth

  • Convert Char to Date format - Evaluate

    Hi,
    Could anyone provide us the Evaluate formula to convert Char to Date format
    2009-06-20 should be converted to 06/20/2009
    Regards,
    Vinay

    Hi,
    Refer the below threads...
    Re: How to convert string to date format?
    how to convert character string into date format????
    Regards,
    Chithra Saravanan

  • My new macbook pro is giving me hardtime. even apple team is not being to solve it. they replace the motherboard first it didn't work. second time they formatted the computer and that also didn't work. every time my mac showing different problems.

    my new macbook pro is giving me hardtime. even apple team is not being to solve it. they replace the motherboard first it didn't work. second time they formatted the computer and that also didn't work. every time my mac showing different problems.
    At first my computer had issues. Once it go to sleep it will not back again. I dropped my laptop at apple store to fix it. After 10  days they returned my laptop saying they were no able to fix the problem so they replaced motherboard aiming if that might help. Acttually that didn't help.I had same issue again. I visited apple store again. This time they said they could fix, if I will allow them to format the harddrive. I said ok. They formatted it. It was working fine for few daysAfter few days compter is taking.even more than 15 min to shutdown. Now computer has another problem. It is being hang frequently like every 20'to.30 min.
    I don't know what to do? I still have one month left on first year warranty. I have requested couple times to apple associates either to fix or replace or refund. They are showing me rude behavior. They are not understanding my situation. I am a student. I need to do lot of home work. Since last three month my mac book and apple associates giving me hard time. Any suggestions are welcome.

    Contact Apple Customer Care - not Apple Care - Customer Support. Have your receipts handy and/or case numbers. Be patient, be calm, and tell your story just as you have here. I get the sense you are not in the US and don't have access to an Apple Store but are going to an independent shop. This makes using Customer Support all the more important. If phoning isn't viable, use registered mail.
    Since time is running short, be prepared to purchase AppleCare to exennd your warranty 2 more years. Yes, you shouldn't have to do this, but it gives you added protection and more opportunities over the next 2 years to claim a replacement computer if you don't get one immediately. After dealing with a similar unhappy situation with a Mac in the late 1990s I finally got a replacement computer and reimbursed for the AppleCare policy.

  • After Effects CS4 and converting to a lossless format

    I posted in the Adobe Premiere forums about an issue I was having with my renders. If you want to read it then you can check it out with the url below.
    http://forums.adobe.com/message/2622969#2622969
    What I have figured out is that After Effects does not like my AVCHD files I get from my camera. (They are h.264 in an ,m2ts file type and not mp4)
    The issue is that I get "echos" or skips when I render something in After Effects or render with Media Encoder via dynamic link and Premiere Pro CS4.
    What I am not familar with is the types of files that many of you who are more expereinced than I am use for After Effects when you need to convert to a lossless format (or one as close as you can get to being "lossless."
    I was wondering if someone could recommend the kinds of files I should be converting to and if you have a good method of converting them. Not that I want people to discuss other software here, but if you do not use Adobe programs to convert, then what kinds of files do you convert to?
    In other words, where do you recommend I begin reading or researching this because a lot of companies sell conversion programs. I currently have one that I paid for but it does not do the job I need it to do for HD. I would like to keep it as close to HD quality as possible.
    FYI I generally will do video work with some effects and green screen work in After Effects. My output is video. If you have any other questions about my process, then please do not hesitate to ask me. Other than that, I appreicate anyone's guidance.

    Yeah, AE does not like video files with interframe compression. It processes video in a completely different way than a non-linear editing program like Premiere does. My friend Dave LaRonde from the friendly forums at CreativeCOW.net explains it this way:
    If the footage you imported into AE is any kind of the following -- footage in an HDV acquisition codec, MPEG1, MPEG2, mp4, m2t, H.261 or H.264 -- you need to convert it to a different codec.
    These kinds of footage use temporal, or interframe compression. They have keyframes at regular intervals, containing complete frame information. However, the frames in between do NOT have complete information. Interframe codecs toss out duplicated information.
    In order to maintain peak rendering efficiency, AE needs complete information for each and every frame. But because these kinds of footage contain only partial information, AE freaks out, resulting in a wide variety of problems.
    You have experienced this delightful problem for yourself.
    There are several different file formats that people use. Uncompressed AVI is one as is Quicktime with the animation codec. However, lately folks seem to prefer Quicktime with the PNG codec (not a PNG sequence). It produces a significantly smaller file size, but is still effectively lossless.
    You can use the Adobe Media Encoder to export it out of Premiere to use in AE.

  • Can't convert .DV to any format in Quicktime

    Hi!
    I've recently created a movie project in iMovie and exported it to Quicktime, for it to keep it's full resolution. The problem is... the file measures about 1.09 Gb, for a 5:49 movie. I want to convert it to .avi to reduce it's size, maintain quality and play on YouTube, etc,; I've tried different specs but it always freezes! I've tried also converting it to different formats like Divx or .mp4 but with no luck at all. Any tips on how to fix this?

    First don't export to AVI there are enough horrible AVI's out there from Windows users to last until the 22nd century.
    You don't need to export it at all just open the reference file in QT and export how you like. You have said nothinga about how it doesn't work, error messages or anything at all to help so try doing that.
    DV is 13GB an hour so the size is simply a normal DV size for the duration you have there, and not a problem, and you may be happier opening it in MPEG Streamclip (free), and export to MPEG-4 with one of the iTunes presets.

  • I've uploaded 4 pdf documents. Now how do I convert them to Excel format?

    I've uploaded 4 pdf docs. Now how do I convert them to Excel format so I can manipulate the data?
    linda93790

    Hi linda93790,
    If you uploaded your files to http://cloud.acrobat.com, simply click on one of the PDF files, then click 'ExportPDF' from along the top-bar in your browser.  This will automatically load that PDF into the ExportPDF system.  From there, you can configure any options you may need and convert the file to an .xlsx file.
    Please let us know if you have any questions!
    Thanks,
    David

Maybe you are looking for

  • Scroll bar with external text file

    Hello all, I need to make a flash movie with a graphic background with text from an external file. Ideally: 1) The text file would NOT have to be imported into the flash movie. It would simply be in the same web folder as the flash file. 2) Even bett

  • Messages.problem sending.

    I am trying to send an email with photos,but it keeps reading not delivered . Why?

  • How can I pass variable to eventdriven startElement() function?

    I am new to java and SAX. Could anybody tell me how to pass variable to eventdriven startElement function? I tried the following code but didn't work. public class ReadXmlSax extends DefaultHandler String elementName; String requestName; Vector v = n

  • ActiveX / IE Problem - Flash not loading :(

    Hi, 1st post whooo hooo :) Ok, I have been creating a website for a friend and i thought all was going well until i tried to open the site via IE. Menu (created in flash 8) doesnt work. After a day searching on the web, i found out it is due to a sec

  • Flash Application crashes the IE browser when click on permission window

    Hi! I use a free script to make calls with freeswitch. In test environment it works perfect: http://flex.ibrizz.com . But when I change it for working environment http://iBrizz.com it crashes IE8-10 when I click to any place on microphone permission