<p>I'm trying to create number of Evenement instances and set the date for them:</p>

<pre><code>   for (int i=2004; i&lt;2009; i++){
           evenementen.add(new Evenement("Rock Werchter", "Rock", "Werchter", 200000,
                           (Date)formatter.parse(i+"/07/03")));
</code></pre>

<p>But I can't seem to get it to work,</p>

<p>Any ideas?</p>

You may want to use Calendar to create your dates.
```
```
for (int i=2004; i<2009; i++) {
    Calendar cal = Calendar.getInstance();
    cal.clear();
    // Calendar.JULY may be different depending on the JDK language
    cal.set(i, Calendar.JULY, 3); // Alternatively, cal.set(i, 6, 3); 
    evenementen.add(new Evenement("Rock Werchter", "Rock", "Werchter", 200000,
            cal.getTime()));
}
```
```
Note that the months are zero-based, so July is 6.