title: Best way to check if today is the first of the month
body: <p>I have 2 functions for checking if today is the first day of the month.
  Does one of these have an advantage over the other, ie accuracy?</p>
  
  <pre><code>if(date('j', $timestamp) === '1') { }
  
  if(date('Y-m-d') == date('Y-m-01')) { }
  </code></pre>