I need to get the current date in the format MM/DD/YYYY and compare it to another string in the same format to see if the current date is greater than the string date. What is the best way of doing this? thanks.
ashkash 0 Newbie Poster
Recommended Answers
Jump to PostBy using SimpleDateFormat to parse the "String" into a date, then compare the two Date objects.
All 4 Replies
Ezzaral 2,714 Posting Sage Team Colleague Featured Poster
masijade 1,351 Industrious Poster Team Colleague Featured Poster
ashkash 0 Newbie Poster
Ezzaral 2,714 Posting Sage Team Colleague Featured Poster
Be a part of the DaniWeb community
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.