title: Get yesterday date from android
body: <pre><code>  Date now = new Date();
  String JobReceivedDate= new SimpleDateFormat("yyyy-MM-dd").format(now);
  </code></pre>
  
  <p>By this I can get today's date. How can I date yesterday date??? I want that to be in string and in the same format.
  Thanks</p>