Forum Discussion
nathan
12 years agoExecutive
Strikes me that this could be a timezone issue.
- AdamN12 years agoKhoros Oracle
nathan is right, these methods used as you've shown will give you the date/time in the timezone of the server. For example, you can actually see the timezone if you use the freemarker ?string.long directive:
${.now?string.long}
If you want the date in UTC, you can use the ?iso_utc directive:
${.now?iso_utc}
More details here:
http://freemarker.org/docs/ref_builtins_date.html
- james_scee11 years agoAcecool, thanks for the replies, I'll give those a go
Related Content
- 4 months ago
- 5 years ago
- 4 years ago