AnsweredAssumed Answered

How to Convert Date formats with Time Zones using Groovy Script?

Question asked by chaitanyakumar.pulla641442 on Aug 27, 2018
Latest reply on Aug 27, 2018 by britto.parthalomew

Hi,

 

I need to convert the date format from UTC to GMT with a given input format is "yyyy-MM-dd'T'HH:mm:ss.SSS'Z'" and need  to convert to "yyyy-MM-dd'T'HH:mm:ss'Z'" format.

 

How can i add or subtract hours and minutes with the above date format conversion using  Groovy Script?

 

Regards,

Chaitanya

 

Dushyant Kumar

Outcomes