Hello,
Does anyone now how to access the setTimeInMillis method of the Calendar
Interface.
I have a time in the format of HH:MM:SS: which is a string, but I want to
convert it to a long, so I can compare the times to figure out of two times
how far greater or lesser one is.
Thanks,

Signature
Al
Al Wilkerson - 24 Sep 2004 05:09 GMT
Sorry, I meant from the the java.util.Calendar class.
Al
> Hello,
>
[quoted text clipped - 5 lines]
>
> Thanks,
Tor Iver Wilhelmsen - 24 Sep 2004 08:34 GMT
> I have a time in the format of HH:MM:SS: which is a string, but I want to
> convert it to a long,
Use SimpleDateFormat and do getTime() on the Date object you get when
you parse.