A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
Win a copy of
Murach's Java Servlets and JSP
this week in the
Java in General
Convert Hours to MilliSeconds
Joined: Mar 12, 2001
Jun 09, 2003 09:14:00
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?
Joined: Aug 05, 2001
Jun 09, 2003 09:20:00
please refer to:
I agree. Here's the link:
subject: Convert Hours to MilliSeconds
Convert hh:mm:ss in millisecond
Milliseconds to date conversion
Converting Date Into Milliseconds?
Converting millisecs to hour, minute, seconds.
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2014