How to get today’s date in Groovy September 26, 2023 by Tarik Then use: new Date().format( 'yyyyMMdd' )