This week's book giveaway is in the OO, Patterns, UML and Refactoring forum.
We're giving away four copies of Refactoring for Software Design Smells: Managing Technical Debt and have Girish Suryanarayana, Ganesh Samarthyam & Tushar Sharma on-line!
See this thread for details.
The moose likes Beginning Java and the fly likes How to compare two dates Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


JavaRanch » Java Forums » Java » Beginning Java
Reply locked New topic
Author

How to compare two dates

Sharma Vinit
Greenhorn

Joined: Apr 29, 2010
Posts: 5
Hi friends

I need to compare a date with current date. I have to check the joining date of a student which is received from front end as a string.The joining date should not be greater than today's date.

Someone help ...
Campbell Ritchie
Sheriff

Joined: Oct 13, 2005
Posts: 43935
    
  33
What have you tried?
Campbell Ritchie
Sheriff

Joined: Oct 13, 2005
Posts: 43935
    
  33
In view of this post and this FAQ, I am closing this thread.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: How to compare two dates
 
It's not a secret anymore!