Forum Discussion
groovyguy
Community Hero
In my testing expereinces, you cannot use java.util.Date and set a timezone. These objects do not contain any timezone information. I was able to get around this by instead using a calendar object. You can see an example below.
${= Calendar.getInstance(TimeZone.getTimeZone('GMT')).format("EEE, dd MMM yyyy HH:mm:ss z")}
neerajan
8 years agoOccasional Contributor
Awesome....that worked perfect :) !!
Related Content
- 8 years ago
- 4 years ago
Recent Discussions
- 5 days ago
- 9 days ago