title: Last weekday from specific date in php
body: <p>I am looking for the best way to get the last weekday from a particular date. The example I am using is what was the last workday before Christmas eve (24th Dec).</p>
  
  <p>unfortunately this doesn't work: </p>
  
  <pre><code>echo date('l jS \of F Y h:i:s A', strtotime('last weekday before 24th December 2012'));
  </code></pre>