This week's book giveaway is in the OO, Patterns, UML and Refactoring forum.
We're giving away four copies of Refactoring for Software Design Smells: Managing Technical Debt and have Girish Suryanarayana, Ganesh Samarthyam & Tushar Sharma on-line!
See this thread for details.
The moose likes Java in General and the fly likes Convert Hours to MilliSeconds Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


JavaRanch » Java Forums » Java » Java in General
Bookmark "Convert Hours to MilliSeconds" Watch "Convert Hours to MilliSeconds" New topic
Author

Convert Hours to MilliSeconds

Ronnie Phelps
Ranch Hand

Joined: Mar 12, 2001
Posts: 329
If I have a time like 2300 or 0500. How can I convert this to milliseconds in order to store this in a Calendar or Date Object?
John Lee
Ranch Hand

Joined: Aug 05, 2001
Posts: 2545
hi:
please refer to:
http://www.zwhome.org/~asw/JNTimer/JNTimerMan.html
http://forum.java.sun.com/thread.jsp?thread=309898&forum=31&message=1240798
http://student.cs.ucc.ie/~jjm3/javadocs/ClockPackage/MilliSecond.html
 
I’ve looked at a lot of different solutions, and in my humble opinion Aspose is the way to go. Here’s the link: http://aspose.com
 
subject: Convert Hours to MilliSeconds
 
It's not a secret anymore!