Win a copy of Think Java: How to Think Like a Computer Scientist this week in the Java in General forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Get time in seconds/mili seconds

 
SoonAnn Lim
Ranch Hand
Posts: 155
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 9063
12
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Use a method in the Date class.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic