aspose file tools*
The moose likes Beginning Java and the fly likes System Time with Milliseconds Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of EJB 3 in Action this week in the EJB and other Java EE Technologies forum!
JavaRanch » Java Forums » Java » Beginning Java
Bookmark "System Time with Milliseconds" Watch "System Time with Milliseconds" New topic
Author

System Time with Milliseconds

Gregg Bolinger
GenRocket Founder
Ranch Hand

Joined: Jul 11, 2001
Posts: 15286
    
    6

This is how I "think" I am getting the current time with milliseconds.

The format I need is simpley HourHourMinutesMinutesSecondsSecondsMillisecondsMilliseconds.
But I am not sure that my SimpleDateFormat is correct. Can someone verify?
Thanks.
[ March 23, 2004: Message edited by: Gregg Bolinger ]

GenRocket - A Test Data Generation Platform
Michael Dunn
Ranch Hand

Joined: Jun 09, 2003
Posts: 4632
Looks like it should be "HHmmssSS"
SDF api
Gregg Bolinger
GenRocket Founder
Ranch Hand

Joined: Jul 11, 2001
Posts: 15286
    
    6

Cool, thanks.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: System Time with Milliseconds
 
Similar Threads
help me in time comparison
Simple question about reloading Date Variable..
How do i print 1 as 01?
date arithmetic
Displaying seconds in hh:mm:ss format