title: YYYY-MM-DD minus 1 day
body: <p>I have a date variable in the YYYY-MM-DD format. </p>
  
  <p>How can I change the date value to the previous day? So if the value of the variable was 2014-01-01 it would change to 2014-12-31.</p>