title: How can I get numeric value of Sunday to 1
body: <p>I am trying to get numeric value of <code>Sunday</code> as <code>1</code></p>
  
  <pre><code>$day_of_week = date('N', strtotime('Sunday')); 
  </code></pre>
  
  <p>returns <code>7</code>. </p>
  
  <p>Can I get <code>1</code> instead of <code>7</code>?</p>