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 PostSee the following example on comparing dates: http://exampledepot.com/egs/java.util/CompDates.html?l=rel and you can find a lot of information on using the date-related API classes here: http://mindprod.com/jgloss/calendar.html
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.