Uncertainty courtesy of Austin: How to convert dates in Java?
I am supposed to convert a date in mm/dd/yyyy format to dd-mm-yyyy in Java. Note, this class is a very basic class so advanced techniques aren’t needed. Also, I’m pretty sure I’m supposed to utilize “Scanner”. Thank you for any help or ideas.
This is exactly important facts about How to convert dates in Java? that you may possibly wish to fix concerns alone. Preferably this assists in many ways, and making everything considerably better. Needing important facts about How to convert dates in Java? might possibly be a remedy later on.
Best solution:
Answer by SAM
Though I am not sure why do want to use a Scanner, if you simply wants to convert the format of the date then you can use the SimpleDateFormat class.
Follow the links below and you will get the idea about how to use this class.
http://download.oracle.com/javase/1.4.2/docs/api/java/text/SimpleDateFormat.html
http://www.javadeveloper.co.in/java-example/java-simpledateformat-example.html
http://www.java-samples.com/showtutorial.php?tutorialid=406
http://www.exampledepot.com/egs/java.text/FormatDate.html
Hope this helps!!!
Regards
SAM
Understand or know much better?
Leave your individual answer with the comments!
HELP SPREAD THIS VIDEO AND MESSAGE!** Links to everything I talked about in this video: Please Visit: http://fight4freedom.net/ https://www.facebook.com/Th…
How to convert a date in Java?
No comments:
Post a Comment