title: how do we get the first and last day of the current month
body: <p>How do we get the first day of the month and last day of the month. i am using it on a apex class.</p>
  
  <p>i can get the todays date by using </p>
  
  <pre><code>date.today()
  </code></pre>
  
  <p>but how would i get the first and last day of the month.</p>
  
  <p>Thanks</p>