Converting a date into milliseconds
<p>I have a database that holds times at which i need to run certain processes
I do a query which gives me the difference between the current time and the time at which i'm supposed to run the process
For example, I might get this number 23:49:44.835 which means i need to run the process in about 23 hours. 
I want to get this process in milliseconds, so I have done this</p>

<pre><code>Date Date = (java.util.Date) (InMsgTstable[index][0]);
long Value3 = Date.getTime();
</code></pre>

<p>The date value i get is correct, though it drops the milliseconds value that is stored in my database.
I want to get this number of hours/minutes etc.. in milliseconds so i can put that number as a millisecond delay in a scheduler. However, this is giving me the wrong value in milliseconds.
Any tips?</p>
