Just a theoretical thought, why don't you write the dates like YYYYMMDD instead of the DDMMYYYY that you showed us? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4020456#4020456 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4020456