When converting a string to a Date, how do I prevent the date parsing from converting 2/29/01 to 3/1/01?

John Zukowski

When using DateFormat, you can set the lenient property to false so that it doesn't try to guess at what date it thought you were thinking.

0 Comments  (click to add your comment)
Comment and Contribute






(Maximum characters: 1200). You have 1200 characters left.