Skip to Main Content

Java Development Tools

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

How to validate the date with yyyy-MM-dd format???

Mani kantaJan 16 2017 — edited Jan 22 2017

Hi,

As per my requirement I have to check the String variable whether it holds date or any other information(numbers, words and e.t.c).

Actual requirement is I have change the date format from yyyy-MM-dd to dd-MM-yyyy. But, its not in date format it is in String format. Here I have String variable which may holds date or any other information.

Please give me suggestions to check the date.

Regards,

Manikanta

This post has been answered by Puthanampatti on Jan 16 2017
Jump to Answer
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Feb 14 2017
Added on Jan 16 2017
5 comments
2,405 views