Win a copy of Mesos in Action this week in the Cloud/Virtualizaton forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

SimpleDateFormat

 
Garandi Garandi
Ranch Hand
Posts: 192
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
How to create "SimpleDateFormat" to display time in "23:00, 00:00, 01:00, 02:00" etc format.
Thank you in advance
Garandi
 
Rodney Woodruff
Ranch Hand
Posts: 80
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Try this:
new SimpleDateFormat("HH:mm")
This will create a simple date format where the time is a 24 clock which will result in 23:00, 22:00, etc.
 
Bear Bibeault
Author and ninkuma
Marshal
Pie
Posts: 64844
86
IntelliJ IDE Java jQuery Mac Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
advanced?
 
Michael Morris
Ranch Hand
Posts: 3451
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator

advanced?

I was scared to move it to Cindy's forum.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic