This week's giveaway is in the EJB and other Java EE Technologies forum.
We're giving away four copies of EJB 3 in Action and have Debu Panda, Reza Rahman, Ryan Cuprak, and Michael Remijan 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


Win a copy of EJB 3 in Action this week in the EJB and other Java EE Technologies 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
 
Similar Threads
DATE/TIME
Converting millisecs to hour, minute, seconds.
Convert hh:mm:ss in millisecond
Milliseconds to date conversion
Converting Date Into Milliseconds?