Forum Discussion
groovyguy
8 years agoCommunity 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")}
- neerajan8 years agoOccasional Contributor
Awesome....that worked perfect :) !!
Related Content
- 8 years ago
- 4 years ago
Recent Discussions
- 19 days ago