get yesterday's date by selected date on Calender in php
<p>Selecting a date on the Calender which format is 2011-11-01. Then I want to display the yesterday's date (i.e 2011-09-30) after clicking "one day before" button. </p>

<p>Is there anyone know to do it in pure php? Thanks in advance></p>
