File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes Beginning Java and the fly likes Get time in seconds/mili seconds Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Java Interview Guide this week in the Jobs Discussion forum!
JavaRanch » Java Forums » Java » Beginning Java
Bookmark "Get time in seconds/mili seconds" Watch "Get time in seconds/mili seconds" New topic

Get time in seconds/mili seconds

SoonAnn Lim
Ranch Hand

Joined: Jun 21, 2001
Posts: 155
Can someone give me some guide on obtaining gm time on a particular date? For instance, how can i get the seconds since epoch have evolved on 2001 Oct 30 00:00:00? Thanks a lot.
Marilyn de Queiroz

Joined: Jul 22, 2000
Posts: 9059
Use a method in the Date class.

"Yesterday is history, tomorrow is a mystery, and today is a gift; that's why they call it the present." Eleanor Roosevelt
I agree. Here's the link:
subject: Get time in seconds/mili seconds
It's not a secret anymore!