How to code in java to print day name of any date by input date in date format "dd-mm-yyyy" and check date is valid or invalid? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 1

How to code in java to print day name of any date by input date in date format "dd-mm-yyyy" and check date is valid or invalid?

21st Oct 2018, 7:13 PM
SHAILENDRA DAKSH
SHAILENDRA DAKSH - avatar
3 Answers
+ 2
Start by reading this: https://www.mkyong.com/java/java-date-and-calendar-examples/ https://docs.oracle.com/javase/7/docs/api/java/util/Calendar.html Code your program using Calendar (Date is obsolete.) If you have issues, link it here to get help.
22nd Oct 2018, 4:35 AM
John Wells
John Wells - avatar
+ 1
Александр Hi. Unfortunately, we require all posts in a thread to be on topic so yours needs to be deleted. I wish you the best and welcome you to SoloLearn. Please read this: https://www.sololearn.com/discuss/1316935 If there is anything I can do to help you in your journey here, please post a comment on my code or message me directly.
3rd Nov 2018, 12:41 AM
John Wells
John Wells - avatar
0
hi))))
2nd Nov 2018, 10:07 PM
Александр