Forum Discussion
groovyguy
7 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")}
- neerajan7 years agoOccasional Contributor
Awesome....that worked perfect :) !!
Related Content
- 4 years ago
- 6 years ago
Recent Discussions
- 7 hours ago
- 3 days ago