aspose file tools*
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
JavaRanch » Java Forums » Java » Beginning Java
Bookmark "Get time in seconds/mili seconds" Watch "Get time in seconds/mili seconds" New topic
Author

Get time in seconds/mili seconds

SoonAnn Lim
Ranch Hand

Joined: Jun 21, 2001
Posts: 155
Hi,
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
Sheriff

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


JavaBeginnersFaq
"Yesterday is history, tomorrow is a mystery, and today is a gift; that's why they call it the present." Eleanor Roosevelt
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: Get time in seconds/mili seconds