Look at the way your for loop works, you check if there is another line available then process it. But it was read at the end of the previous loop. Is this the way to do it?
This means that you...
Type: Posts; User: Freaky Chris
Look at the way your for loop works, you check if there is another line available then process it. But it was read at the end of the previous loop. Is this the way to do it?
This means that you...
Since it is a date why not read it in as a String and the parse it to a date rather than an integer?
Have a look here Java - DateFormat
Pay particular attention to the parse() function!
Chris
Hi m49er704,
Could you please outline what you have tried before this, and perhaps what is wrong with this? What does it produce? How does this differ from what you expect?
My uniformed guess...