I'm having a java bean (it's an enterprise bean in fact but I think it doesn't matter) with a java.util.Date property. The value is set to ie. 2006-05-30. When I print the value to the console everything is allright. But in my web browser window I can see 2006-05-29. I think it's a locale issue 'cause the problem date value is in fact two hours earlier. I'm using JSF myfaces implementation. I've changed default locale in faces-config.xml to en but it didn't help. Any ideas on how to fix the problem?