File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Date Validation

 
Ashwin Kumar
Ranch Hand
Posts: 78
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,

I am using swing application and trying to validate the entered date should be of mm-dd-yyyy format. How can I check the entered date is mm-dd-yyyy format.?,
 
Annie Smith
Ranch Hand
Posts: 172
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
 
Annie Smith
Ranch Hand
Posts: 172
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Originally posted by shonak valvekar:
Hi,

I am using swing application and trying to validate the entered date should be of mm-dd-yyyy format. How can I check the entered date is mm-dd-yyyy format.?,


Do remember that in SimpleDateFormat, you need to use MM for months. mm means minutes.
 
I agree. Here's the link: http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic