Forum Discussion
nmrao
Champion Level 3
Can you not use as below:
def fileName = 'C:/temp/myfile-'+new Date().format('yyyy-MM-dd-HH-mm-ss')+'.txt' log.info fileName
_ivanovich_
6 years agoFrequent Contributor
Simple and nice solution.
Thank you Rao
Related Content
- 3 years ago