title: How to find current day no. in month in php
body: <p>Today's date is 27-01-2014 so I got day name using following function:</p>
  
  <pre><code>$t=date('d-m-Y');
  $day = strtolower(date("D",strtotime($t)));
  </code></pre>
  
  <p>So now the day name is <code>mon</code>.</p>
  
  <p>How to find that this Monday is the forth Monday of current month?
  In other words, I am trying to find the 1st, 2nd, 3rd, 4th of a particular day (eg. Monday) of a month?</p>