title: Add days to current date in groovy
body: <p>I am trying to get the current date and change the format and add 30 days to it,  i tried the following in groovy :</p>
  
  <pre><code>def date = new Date().format("yyyy-MM-dd")
  def laterdate = date + 30
  log.info laterdate
  </code></pre>
  
  <p>I get the output as (formatting looks good)</p>
  
  <pre><code>Mon Jul 24 12:24:04 MST 2017:INFO:2017-07-2430
  </code></pre>
  
  <p>can someone please advise where i am doing wrong</p>