int day = Integer.parseInt(request.getParameter(\"day\")); // 25
int month = Integer.parseInt(request.getParameter(\"month\")); // 12
int year = Integer.parseInt(re
Make your life easy when working with dates, timestamps and durations. Use HalDateTime from
http://sourceforge.net/projects/haldatetime/?source=directory
For example you can just use it to parse your input like this:
HalDateTime mydate = HalDateTime.valueOf( "25.12.1988" );
System.out.println( mydate ); // will print in ISO format: 1988-12-25
You can also specify patterns for parsing and printing.