title: PHP: How to get Day using Y-m-d?
body: <p>I am trying to get Day(Monday, Tuesday, Wednesday,...) using "Y-m-d" date format but it is not giving me exact day.</p>
  
  <p>For example:</p>
  
  <pre><code>date("l","2014-07-26"); // Output: Thursday
  </code></pre>
  
  <p>But output should be: Saturday</p>
  
  <p>Thanks</p>