This week's book giveaway is in the Design forum.
We're giving away four copies of Building Microservices and have Sam Newman on-line!
See this thread for details.
The moose likes JSP and the fly likes Invalid Date Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Building Microservices this week in the Design forum!
JavaRanch » Java Forums » Java » JSP
Bookmark "Invalid Date" Watch "Invalid Date" New topic

Invalid Date

Joey Alencar
Ranch Hand

Joined: Jun 26, 2001
Posts: 43
I'd like to know how can I check if a date is valid
(Ex: 30-FEB-01; Date is invalid). Can anyone give me one example using the format "DD/MM/YYYY"?
Tony Alicea

Joined: Jan 30, 2000
Posts: 3222
"Invalid Date!" Is what she yelled after my last attempt to have a date with a young lady!

Tony Alicea
Senior Java Web Application Developer, SCPJ2, SCWCD
Dharmesh Chheda
Ranch Hand

Joined: May 08, 2001
Posts: 204
Hey Joey
can you please elaborate your question?.. do you want to display the date in that format or something ...
IBM Certified WebSphere Application Server V3.5 Specialist

regards,<br />Dharmesh Chheda
Peter den Haan
Ranch Hand

Joined: Apr 20, 2000
Posts: 3252
- Peter
Joey Alencar
Ranch Hand

Joined: Jun 26, 2001
Posts: 43
Thank you Peter !!
I agree. Here's the link:
subject: Invalid Date
It's not a secret anymore!