title: Best way to convert between noda time LocalDate and Datetime?
body: <p>I am using both the native Datetime and the Noda Time library LocalDate in the project. The LocalDate is mainly used for calculation whereas Datetime is used in rest of the places. </p>
  
  <p>Can someone please give me an easy way to convert between the native and nodatime date fields?</p>
  
  <p>I am currently using the below approach to convert the Datetime field to Noda LocalDate.</p>
  
  <pre><code>LocalDate endDate = new LocalDate(startDate.Year, startDate.Month, startDate.Day);
  </code></pre>