Forum Discussion

VaniV28's avatar
VaniV28
Occasional Contributor
5 years ago

Error when using groovy script to tomorrow's date

Hi  I'm using the following script to get tomorrow's date use(groovy.time.TimeCategory) { def tomorrow = new Date() + 1.day //log.info tomorrow.format('yyyy-MM-dd\'T\'HH:mm:ssZ') return tomorro...