title: PHP..How to print month only from a date variable
body: <p>I have a date variable like 10-25-1998 and I only want to echo 10. Can anyone help me about it? Thanks...</p>
  
  <pre><code>$dateString=date("m-d-Y", mktime(0,0,0,10,25,1998));
  echo date('m', $dateString); // not working here....will print out 01
  </code></pre>