| Author |
Time stamp format
|
munuswamy senthilkumar
Greenhorn
Joined: Jun 18, 2004
Posts: 2
|
|
|
how to get the timestamp in the following format yyyy-mm-dd-hh.mm.ss.SSnnnn
|
 |
Jeanne Boyarsky
internet detective
Marshal
Joined: May 26, 2003
Posts: 26489
|
|
Munuswamy, Welcome to javaranch! Take a look at the SimpleDateFormat class. It lets you customize the format of a date (timestamp is a subclass of date so it can do timestamps too.)
|
[Blog] [JavaRanch FAQ] [How To Ask Questions The Smart Way] [Book Promos]
Blogging on Certs: SCEA Part 1, Part 2 & 3, Core Spring 3, OCAJP, OCPJP beta, TOGAF part 1 and part 2
|
 |
munuswamy senthilkumar
Greenhorn
Joined: Jun 18, 2004
Posts: 2
|
|
|
How to get nano second.
|
 |
 |
|
|
subject: Time stamp format
|
|
|