Getting time in minutes, want to get back hh:mm:ss

Hi friend's i am getting time in minutes, i want it back in hh:mm:ss format, is there any way in java by which i can do it

Using a [url
http://java.sun.com/j2se/1.5.0/docs/api/java/text/Simp
leDateFormat.html]SimpleDateFormat with one ofthese patterns:"'hh:mm:ss'"
"hh:mm:ss"
"HH:mm:ss"should do what you want.
See: [url
http://java.sun.com/docs/books/tutorial/i18n/format/da
teintro.html]Dates and Times.
Not always a good ideal because using SimpleDateFormat on a Date has an assumed epoch of 1/1/1970, a TimeZone and leap year/seconds so one usually does better to individually format the component parts of an elapsed time.

Similar Messages

  • How do I get a refund?  I have tried to use this converter to change a PDF to a word document or excel document three of four times and it always fails..  I want my money back but don't see any way to communicate with Adobe.

    How do I get a refund?  I have tried to use this converter to change a PDF to a word document or excel document three of four times and it always fails..  I want my money back but don't see any way to communicate with Adobe.  i really just want my money back.  Very disappointed.  Also disappointed that it is so hard to find a way to communicate with Adobe that I have to resort to asking this question in this forum. 

    You need to use the CHAT link in support to reach Adobe staff. Be sure you know the product name you are trying to cancel, Adobe have lots of products, several converters etc. I think it is ExportPDF you have, most likely.

  • Time Machine Craziness: Way too much data getting backed up

    Hello.
    I'm on a retina MBP running Mountain Lion. Each time that Time Machine does a backup, it's backing up way more data than corresponds to any changes I have made. I'm aware of issues with virtualization software (I'm not using any) and I'm also aware that it will back up entire large files even if I make a small change to it (that doesn't apply here; I have not altered any files that even approach the size of backups being done).
    According to Console, Time Machine is backing up much more than backupd is detecting in its initial scan. Here are a couple excerpts from the Console representing today's backups:
    8/3/12 3:28:37.450 PM com.apple.backupd[4027]: Finished scan
    8/3/12 3:29:12.480 PM com.apple.backupd[4027]: Found 2659 files (290.2 MB) needing backup
    8/3/12 3:29:12.486 PM com.apple.backupd[4027]: 999.3 MB required (including padding), 141.67 GB available
    8/3/12 4:28:43.148 PM com.apple.backupd[4027]: Copied 20.37 GB of 20.37 GB, 7322 of 7322 items
    8/3/12 5:28:43.700 PM com.apple.backupd[4027]: Copied 40.06 GB of 40.06 GB, 9058 of 9058 items
    8/3/12 5:53:34.220 PM com.apple.backupd[4027]: Found 564 files (18.4 MB) needing backup
    8/3/12 5:53:34.228 PM com.apple.backupd[4027]: 673.7 MB required (including padding), 95.99 GB available
    8/3/12 5:59:10.509 PM com.apple.backupd[4027]: Copied 274 files (1.65 GB) from volume RUBYEXS.
    8/3/12 6:00:46.867 PM com.apple.backupd[4027]: Copied 7185 files (1.66 GB) from volume Macintosh HD.
    I'm pretty sure this has something to do with files on my external hard drive. There may be some corruption in the Time Machine indexing that is forcing backups of the same files to be made over and over again even when no modifications have been made. In the Time Machine menu bar extra, I can see the backup size snowballing. It will say, for example, "backing up 2.4 GB out of 3.0 GB," and one minute later say "backing up 3.5 GB out of 5.4 GB" and just keep going up to as much as 60 GB.
    Any ideas what might be causing this? I can provide more detailed Console logs if anyone is interested. Do you think I should wipe my Time Capsule clean and start backups from scratch? That's what I did when I got my rMBP a few weeks ago, but doesn't the Time Machine utility also need to be cleared out somehow so it doesn't look for the old backups? And what about deleting local snapshots? I don't mind starting from scratch again if necessary, but I want to make sure I'm really getting a clean slate.
    Thank you to anyone who has ideas about this!

    ClayG wrote:
    According to Console, Time Machine is backing up much more than backupd is detecting in its initial scan. Here are a couple excerpts from the Console representing today's backups:
    Use one of the apps in #A2 of Time Machine - Troubleshooting to see what's really getting backed-up.
    Also verify your internal HD and repair the external and the TM drive, to be sure there isn't directory damage.
    If that doesn't help, try repairing your backups, per #A5 in the above link. 
    Do you think I should wipe my Time Capsule clean and start backups from scratch?
    Only as a last resort.
    doesn't the Time Machine utility also need to be cleared out somehow so it doesn't look for the old backups?
    No.  It looks at the last backup on the drive, then figures out what's been changed since then.  If the drive is empty, it just starts from scratch.
    And what about deleting local snapshots?
    No, they're completely separate and independent.

  • Since recent updates, I have noticed that my apps close automatically when I am distracted. In some cases it is time consuming to sign back in and get back to the task I was doing. Is it possible to change a setting so the apps will stay open?

    Since recent updates of iOS, I have noticed when using my iPad that my apps close automatically when I have to leave the room or am otherwise distracted for a few minutes. It is sometimes time consuming to sign back in and get back to the task where i left off. Is there a setting I can change so it will keep the apps open until I am ready to close them? Thanks for your help.

    Did you have this problem before Restoring you iPad?
    If you did then did you restore with a backup. You may have reinstalled something that is conflicting in this back up
    If not then sounds like either something went array with the clean install or a hardware issue.
    I know it's long winded but have you tired a clean install then downloading the apps again?
    PJRS

  • 1) I have multiple accounts at the iTunes store and none are now associated with my purchases...I think because passwords have been associated with various id's and I can't log in and access those purchases.  I want to get back to being able to use one i

    1) I have multiple accounts at the iTunes store and none are now associated with my purchases...I think because passwords have been associated with various id’s and I can’t log in and access those purchases.  I want to get back to being able to use one id and password and be able to access those purchases.
    2) When I upgraded my iPhone 3gs, to the latest version 5.0.1 (9A405), is when I noticed that i couldn’t update my applications.  There are two names/accounts on the phone and prior to the update there was just the one.  I have tried entering every conceivable password that I have ever used and get the incorrect password error every time. The apps on the iPhone are apparently associated with several/different accounts.  I just want to get everything back to the way it was.  One id and one password with purchases associated with just one account that can be updated on my computer as well as my iPhone.

    Hello sadiepix,
    The following article details several things that can be done to quell iTunes' constant need for authorization.
    iTunes repeatedly prompts to authorize computer to play iTunes Store purchases
    http://support.apple.com/kb/TS1389
    Cheers,
    Allen

  • I accidentally formatted my portable hard drive when setting it up for time machine. Is there any way for me to get back my lost files?

    I have an external hard drive of the brand Western Digital.
    Before I got my iMac I moved a lot of my important files from my PC to the hard drive and today I went on and connected it to my iMac to move my files over to it.
    When it had connected a window popped up that asked if I wanted to use this hard drive with the program Time Machine and create backups. Without thinking it trough enough and reading the warning properly (I'm stupid I know) I clicked "yes". I then realised how stupid it was and cancelled the formatting of the hard drive. But somehow the program still managed to delete all my important files and can't find any way to get them back. Neither can I connect the hard drive to my PC anymore so I can't check if the files are still there (which I doubt they are since I can't see them on my iMac either).
    And now I wonder: is there any way for me to get back my lost files or are they lost forever?
    Thank you in advance!
    //Gina

    A data recovery specialist or some data recovery programs should be able to help.  Most format simply rewrite the directory tree saying no files are on this disk.  The bits that represent the files are still flipped appropreiately so they still exists, you just don't have the location info to get at them.  Secure formats and erases rewrite each bit to a zero or 1 or random so the data is then truely gone.  This type of format takes a long time to complete.
    I'm not making a recomendation of a particular program but here is one company that does what you ask:
    http://www.remosoftware.com/mac-recovery  The cost is pretty high but I'm sure they don't sell many copies and need to cover their development costs.
    Good luck and don't write anything on the freshly formatted disk until you decide what to do.

  • How to get/display  time with minutes in a test item

    Dear experts,
    Forms [32 Bit] Version 10.1.2.0.2 (Production)
    Oracle Database 10g Express Edition Release 10.2.0.1.0 - Production
    Oracle Toolkit Version 10.1.2.0.2 (Production)
    PL/SQL Version 10.1.0.4.2 (Production)I've the following requirements.
    In my form, there are three text items and one save button.
    Text items named as
    No_of_days --> Number data type
    (user will enter number of days)
    hours_limit --> Char data type with format mask (HH:MI);
    (user will enter hours with minutes)
    Upto_date_time --> date data type;
    this field calculated as (No_of_days+hours_limit+sysdate)
    User will enter No_of_days or hours_limit:
    Based on the values I've to calculate Upto_date_time
    Here is the problem:
    1) If user doesn't enter hours_limit I want to show default time as " 04:00 PM"
    2) If user enter hours_limit field we should allow them to enter in the following format
    "HH24:MI" format;
    what whould be suitable data type for hours_limit field..
    I tried with char and i've set the format mask as ,
    set_item_property('BLOCK3.hours_limit',format_mask,'HH:MI');
    But I'm geeting the error
    "FRM-50027:Invalid format mask for given datatype"
    Please help to solve this problem,
    Regards,
    Karthi

    Hi vansul ,
    set_item_property('BLOCK3.hours_limit',format_mask,'HH:MI');
    Format mast is only allowed to date data type fields.If i set the hours_limit item's data type as date , I'm getting the error message "ORA-01843:Not a valid month"..
    How could i make this field only getting or display time with minutes?
    Regards,
    Karthi

  • Firefox has been unusable because of crashes; I want to delete it from my desktop and re-install; please, how can I do this? I'm stuck with using safari and I want to be able to get back to using firefox!

    firefox crashes on opening, every time, and very speedily; I have sent reports in, when it began, without receiving any help; since then I've been trying delete firefox and reinstall it, but have miserably failed; I have very little time to play around with it, so have fallen back to safari, but I want to get back to it as simply as possible! I am the opposite of a computer nerd, as you can imagine! But I know what I like ...
    Simple help, please? Many thanks.

    See Empty/corrupt library after upgrade/crash...
    tt2

  • I want to go back to Snow Leopard but I get "you have to install mac osx.app 23.1.1

    I have a new 21.5 iMac I just purchased July 9 so I was able to download Lion for free under the up-to-date program.  After installing Lion I decided I wanted to go back to Snow Leopard for various reasons. When I restart with the original Snow Leopard DVD that came with my machine and holding the C key down, I get the window for Mac OS X install DVD.  I click the icon to install SL and another window pops up stating "You can't use this version of the application. Install Mac OSX.app with this version of Mac OSX. You have to install Mac OSX.app 23.1.1"  To answer the question before hand....I don't have a time machine backup.

    Thanks for all your help guys. I had trouble with my first install of Lion, it seemed buggy and when I tried some of the suggestions you offered, my machine did not always react the way it should have. I thought that was weird because it's a new iMac, only three weeks old. Pondini pointed me in the right direction and I think Lion is stable now. This worked after a few tries, not sure why I wasn't getting consistent results but it worked eventually.
    1. Shut the computer down.
    2. Hold "command" and "R" and turn on the computer (I believe this is recovery HD from the internet because it wasn't working from my hard drive)
    3. After a few unsuccessful tries, and repeating #1 and #2, I finally got a window to reinstall Lion. This took about an hour to download and after that things went as expected.
    As long as Lion is more stable than it was on my first install, which it seems to be now, I'll just stay with it. After this experience, I would say "make sure you need the features in Lion, and that all your current programs are compatible with Lion before you forge ahead."
    Thanks again

  • Don't like 4, want to uninstall and get back to 3.6, this doesn't suit me, but how?

    I find the system clumsy and awkward and I don't have the time to mess with this. Get into mail and have difficulty getting back to home page, have to exit and re-open. Seems very slow and inconsistant. I just want to get out and get back to 3.6. (Old proverb: If it aint broke, don't mend it!) a quality product, In my opinion, now mucked up.

    To downgrade to Firefox 3.6 first uninstall Firefox 4, but do not select the option to "Remove my Firefox personal data". If you select that option it will delete your bookmarks, passwords and other user data.
    You can then install the latest version of Firefox 3.6 available from http://www.mozilla.com/en-US/firefox/all-older.html - it will automatically use your current bookmarks, passwords etc.
    To avoid possible problems with downgrading, I recommend going to your profile folder and deleting the following files if they exist - extensions.cache, extensions.rdf, extensions.ini, extensions.sqlite and localstore.rdf. Deleting these files will force Firefox to rebuild the list of installed extensions, checking their compatibility, and reset toolbar customizations.
    For details of how to find your profile folder see https://support.mozilla.com/kb/Profiles

  • 2 minutes ago I was on a page in the community that had content 2 seconds ago, 1 minute ago etc. Now I can't find it. I see 1 hour ago, 4 hours ago... How do I get back to that page.

    2 minutes ago I was on a page in the community that had content 2 seconds ago, 1 minute ago etc. Now I can't find it. I see 1 hour ago, 4 hours ago... How do I get back to that page.

    Hi Terry,
    2 minutes ago I was on a page in the community that had content 2 seconds ago, 1 minute ago etc. Now I can't find it. I see 1 hour ago, 4 hours ago... How do I get back to that page.
    When you say "2 minutes ago" was that literally 2 minutes ago, or did the page stay idle for some time? The page does not automatically update and continues to show the times of posts when last opened. If you leave the page and return to it, it will then update (reload) with new elapsed times.
    Questions and replies come thick and fast. Perhaps the thread has been pushed down the page by newer posts. It could have been pushed to another page. Click on the Next button (top and bottom of page). "Next" is actually older posts (they are stored in descending time order).
    Have you followed suggestions by b j t and ~Bee?
    Regards,
    Ian.

  • How do I get back to having a choice at the startup, I want to run the mac, not always win 7

    Hi
    I have a Macbook Pro, due to software costs (at time) I also installed Win 7. Everything has gone well, no problems, but now I want to be able to boot up the Mac (as a Mac) but cant firn any option anywhere to help me get back to being a MAc  (sounds like a TV ad!!)
    I remember something about an option key, but have not used this key with win 7 and have become quite useless in Ultimately having a MACBOOK PRO
    I dont want yo get rid of the WIn 7 install, but I would love to have the choice of using either at the startup
    Please help!!!
    Thanks a million
    Nelson

    Hold the OPTION key on your MacBook keyboard while booting.

  • How to get back into Time Machine after restore?

    I have a MacBook. I had to take it in for repairs. Fry's gave me a loaner Macbook. I successfully used the Migration Assistant to copy all my backups onto the loaner Macbook. All my apps and docs seem to be here.
    But now I want to be able to "mount" to my old Time Machine backup "stream". I tried the control-click on Time Machine in the dock to connect to a previous backup, but when I enter Time Machine I can't find any history. I should have like 2 years worth of backups.
    Any hints on how to "get back on" an old time machine sequence after a restore?

    RichieW13 wrote:
    I have a MacBook. I had to take it in for repairs. Fry's gave me a loaner Macbook. I successfully used the Migration Assistant to copy all my backups onto the loaner Macbook. All my apps and docs seem to be here.
    But now I want to be able to "mount" to my old Time Machine backup "stream". I tried the control-click on Time Machine in the dock to connect to a previous backup, but when I enter Time Machine I can't find any history. I should have like 2 years worth of backups.
    Any hints on how to "get back on" an old time machine sequence after a restore?
    TM keeps the backups for each Mac separate, and normally only shows the ones for the Mac it's running on, even if there are other Macs' backups on the same disk/partition.
    Also, sometimes TM will start a new "sequence" of backups, as if they were from a different Mac.
    To see these "other" backups, you need the (badly named) +Browse Other Time Machine Disks+ option. It's available by holding down the Option key while selecting the TM icon in your Menubar, or by control-clicking (right-clicking) the TM icon in your Dock.
    You'll see a selection screen showing all the disks/partitions that have TM backups on them. Select the one you want, and you'll be taken to the normal TM "Star Wars" interface, where you should see all the backups on that disk/partition.

  • HT3275 Help? Time Machine could not complete the back up due to iMacsparsebundle is already in use??? This is the error message I am getting now with my Time Capsule as the back up device. Any suggestions?

    Help? Time Machine could not complete the back up due to iMacsparsebundle is already in use??? This is the error message I am getting now with my Time Capsule as the back up device. Any suggestions?

    Pull the power cord from the back of the Time Capsule
    Wait a few minutes
    Push the power cord back into the back of the Time Capsule
    See if the Time Capsule will back up now
    If not, see #C12 in this document:
    http://pondini.org/TM/Troubleshooting.html

  • Some times when I press the home button to read my finger the screen becomes black and it shows the Apple logo, this take a few seconds to get back the screen and this has been happening even 3 or 4 times in a row!   What should I do?

    Some times when I press the home button to read my finger the screen becomes black and it shows the Apple logo, this take a few seconds to get back the screen and this has been happening even 3 or 4 times in a row!
    What should I do?

    Basic troubleshooting from the User's Guide is reset, restart, restore (first from backup then as new).  Try each of these in order until the issue is resolved.

Maybe you are looking for

  • Domain name is blank on laserjet 200 color MFP m276

    I received this item today but I'm unable to add it to my home network.I've had no trouble previously with an HP 2610, 1102W, and 7520. On this network, a verizon DSL modem feeds  a Linux firewall,which provides routing/DNS/etc. to the computers on t

  • GL Account open items- BSIS table

    Hello All, The standard BSIS table contains the GL Account open items. However i can find the line items for GL Accounts which are not based on "Open item management" also in this table. eg.Salary account postings from yr 2002 (All year end postings

  • Upgrading iPhoto database EPIC FAILURE

    Since upgrading to Yosemite a few months ago I can't successfully upgrade my iPhoto database. It gets about 95% done and then goes no further. It does not fail but does not complete. I have let it go as long as 48 hours. I have tried this at least te

  • PWA issues after Office 2010 SP2 upgrade

    We recently upgraded some client machines that have Project 2010 Professional installed to Project SP2.  Several of these users also use PWA.  After the upgrade, I heard from a few of these users that in PWA, the Workflow Approval buttons were unavai

  • How convert results to toString method

    Hi All, I am facing the problem to display the results in out.println in jsp pages like... I thing it must convert to toSting is it right... kindly give ur valualbe reply how to convert toString