Forum Discussion

swprabhu's avatar
swprabhu
Occasional Contributor
7 years ago

how to format a date

My input timestamp is in the format "yyyy-mm-dd hh:mm:ss.6additional digits". I need to convert this into the format  "yyyy-mm-dd-hh.mm.ss.6additionaldigits".  This has to be done through groovyscri...