title: How to pass date format at run time spring mvc joda
body: <p>Based on a property set at environment level </p>
  
  <pre><code>store.date.format=DD/MM/YY (or)
  store.date.format=MM/DD/YY 
  </code></pre>
  
  <p>How can I bind String entered in the screen to joda LocalDate</p>
  
  <pre><code>@DateTimeFormat("dd/mm/yy")
  private LocalDate birthDate;
  </code></pre>
  
  <p>I want birthDate to accept both dd/mm/yy and mm/dd/yy formats based on store setting. </p>