File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
Win a copy of
Take Control of Upgrading to Yosemite
Take Control of Automating Your Mac
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
Milliseconds to date conversion
Convert hh:mm:ss in millisecond
Converting millisecs to hour, minute, seconds.
Converting Date Into Milliseconds?
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2014