Two Laptop Bag*
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


Win a copy of The Java EE 7 Tutorial Volume 1 or Volume 2 this week in the Java EE forum
or jQuery UI in Action in the JavaScript forum!
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 agree. Here's the link: http://aspose.com/file-tools
 
subject: Convert Hours to MilliSeconds