title: How reduce one day from current in Pipeline Jenkins?
body: <p>I can't reduce one day from current</p>
  
  <pre><code>def now = new Date();
  print(now); // print Fri Sep 06 13:10:03 EEST 2019
  
  print(now - 1.days); // not working
  
  print(now - 1); // not working
  </code></pre>
  
  <p>Please help me. Thanks in advance</p>