This week's book giveaways are in the Refactoring and Agile forums.
We're giving away four copies each of Re-engineering Legacy Software and Docker in Action and have the authors on-line!
See this thread and this one for details.
Win a copy of Re-engineering Legacy Software this week in the Refactoring forum
or Docker in Action in the Cloud/Virtualization forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

System Time with Milliseconds

 
Gregg Bolinger
GenRocket Founder
Ranch Hand
Posts: 15302
6
Chrome IntelliJ IDE Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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 ]
 
Michael Dunn
Ranch Hand
Posts: 4632
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Looks like it should be "HHmmssSS"
SDF api
 
Gregg Bolinger
GenRocket Founder
Ranch Hand
Posts: 15302
6
Chrome IntelliJ IDE Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Cool, thanks.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic