title: How to calculate the date of next Monday in PHP?
body: <p>I'm trying to get a date that comes next Monday at night 00:01 am. I'm using the following lines:</p>
  
  <pre><code>date('Y-m-d h:i:s', strtotime(**'next monday, 01:01am'**, strtotime(date("Y-m-d h:i:s"))))
  </code></pre>
  
  <p>This gives me the proper output:</p>
  
  <blockquote>
    <p>2014-05-19 01:01:00</p>
  </blockquote>
  
  <p>But if I try to write:</p>
  
  <pre><code>date('Y-m-d h:i:s', strtotime(**'next monday, 00:01am'**, strtotime(date("Y-m-d h:i:s"))))
  </code></pre>
  
  <p>I'm getting:</p>
  
  <blockquote>
    <p>1970-01-01 05:30:00</p>
  </blockquote>
  
  <p>Please tell me what is wrong here.</p>