aspose file tools*
The moose likes Java in General and the fly likes Date Validation Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Java in General
Bookmark "Date Validation" Watch "Date Validation" New topic
Author

Date Validation

Ashwin Kumar
Ranch Hand

Joined: Apr 07, 2005
Posts: 78
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.?,


Preparing SCEA..<br />SCBCD 5.0<br />SCWCD 1.4<br />SCJP 1.4
Annie Smith
Ranch Hand

Joined: Mar 05, 2005
Posts: 172


Cheers!<br /><b>Annie</b>
Annie Smith
Ranch Hand

Joined: Mar 05, 2005
Posts: 172
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
 
subject: Date Validation
 
Similar Threads
Quick Date Question
conversion of date
date comparison using javascript
How to fetch Date Field from excel sheet in Java
How to determine Data Format while we are getting Data from Excel Sheet