title: Use User Local Setting To Display Date Under Java
body: <p>i have a grails project</p>
  
  <pre><code>Customer customer = Customer.get(params.id)
  </code></pre>
  
  <p>where customer is a domain class</p>
  
  <p>i need to display </p>
  
  <pre><code>Date date = customer.createDate
  </code></pre>
  
  <p>in user local setting</p>
  
  <p>i can use <i><b>java</b></i> or <i><b>grails</b></i> or <i><b>groovy</b></i> or <i><b>html</b></i> or <i><b>javascript</b></i> to do that</p>
  
  <p><b>Example:</b></p>
  
  <pre><code>if date  = "2012-01-01 00:00:00.0" in GMT
  then user must display it as "2012-01-01 01:00:00.0" in London (GMT +1)
  </code></pre>
  
  <p>any help to use user local setting to display date?</p>