title: How to check, if the date older than 5 days return ture in groovy no the other date lib
body: <p>I have a question, how to check in groovy, if the the date older than 5 days comparing with now.</p>
  <pre><code>def now = new Date() : Wed Feb 23 11:05:06 CET 2022
  String testDate = &quot;2002-2-10&quot;
  
  I have 2 input dates : Fri Feb 11 17:17:42 2022 +0100
  and Wed Feb 23 11:05:06 CET 2022
  
  
  
  </code></pre>
  <p>How can I check, if testDate oder than 5 days?</p>
  <p>any solution?</p>