Granny's Programming Pearls
"inside of every large program is a small program struggling to get out"
JavaRanch.com/granny.jsp
Win a copy of Cross-Platform Desktop Applications: Using Node, Electron, and NW.js this week in the JavaScript forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

I just want the Date !  RSS feed

 
Dave Jones
Ranch Hand
Posts: 77
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hello all,
Checking the API I've found 3 or 4 different classes dealing with 'Date'
in some, most methods are deprecated...
I just need to get the current date in a String format ( e.g 27.3.05 22:35 or something similar)
This is supposed to be simple but I'm just confused
Thanks all
 
Jesper de Jong
Java Cowboy
Sheriff
Posts: 16007
87
Android IntelliJ IDE Java Scala Spring
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Very simple:
 
Dave Jones
Ranch Hand
Posts: 77
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
thanks a lot, that's exactly what I needed clean and simple!
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!