title: How can I get the timestamp for tomorrow 00h10?
body: <p>To prevent misunderstandings: All my code lines where fine, and they work correctly. I just had a wrong parameter in my <code>date()</code>, where I displayed the seconds <code>date('H:s')</code>, where it should've displayed the minutes as <code>date('H:i')</code>. (Thanks to <a href="https://stackoverflow.com/users/1049668/chumkiu">chumkiu</a> for the hint.)</p>
  
  <hr>
  
  <p>I want to fetch the timestamp for the upcoming day at 00h10.</p>
  
  <p>I thought I could use the <code>strtotime()</code> function, e.g. like</p>
  
  <pre><code>$timestamp = strtotime('tomorrow 00:10');
  </code></pre>
  
  <p>But when I check</p>
  
  <pre><code>$mydate = date('Y-m-d H:s', $timestamp);
  var_dump($mydate);
  </code></pre>
  
  <p>the output is</p>
  
  <pre><code>string(16) "2013-10-03 00:00"
  </code></pre>
  
  <p>The documentation of <code>strtotime()</code> has a lot of examples how to get different times</p>
  
  <pre><code>echo strtotime("now"), "\n";
  echo strtotime("10 September 2000"), "\n";
  echo strtotime("+1 day"), "\n";
  echo strtotime("+1 week"), "\n";
  echo strtotime("+1 week 2 days 4 hours 2 seconds"), "\n";
  echo strtotime("next Thursday"), "\n";
  echo strtotime("last Monday"), "\n";
  </code></pre>
  
  <p>But none of them comes close to my problem.</p>
  
  <p>Funny enough: I can do this</p>
  
  <pre><code>$time_h = strtotime('tomorrow +10 hours');
  $time_m = strtotime('tomorrow +10 minutes');
  </code></pre>
  
  <p>whereas <code>$time_h</code> returns the wanted result (<code>10:00</code>), but <code>$time_m</code> does not.</p>
  
  <p>Any ideas?</p>