tracker issue : CF-4156896

select a category, or use search below
(searches all categories and all time range)

[ANeff] Wishlist for: SetTimeZone(String timezone)

| View in Tracker

Status/Resolution/Reason: To Test//Fixed

Reporter/Name(from Bugbase): Aaron Neff / Aaron Neff (Aaron Neff)

Created: 05/24/2016

Components: Wishlist

Versions: 2016

Failure Type: Enhancement Request

Found In Build/Fixed In Build: CF2016_Final /

Priority/Frequency: Trivial / Unknown

Locale/System: English / Win All

Vote Count: 5

Currently, CF defaults to OS's time zone or JVM arg -Duser.timezone.

We should be able to specify time zone at app-level. Suggestion: SetTimeZone(String timezone).

We've discussed this for years. Multiple tickets have been filed in various trackers.

----------------------------- Additional Watson Details -----------------------------

Watson Bug ID:	4156896

External Customer Info:
External Company:  
External Customer Name: Aaron Neff
External Customer Email:



Ran into this before. I had to build in offsets into the application.
Comment by External U.
2660 | May 24, 2016 11:32:13 AM GMT
History: (we asked for it in 2008) (we asked for it in 2013) We discussed it in multiple PRs. Lucee already has it: - GetTimeZoneInfo( [ timezone [, locale ] ] ) (see - SetTimeZone( timezone ) (see - GetTimeZone( ) (see And it works: Why is Lucee leading the way here? Aether, isn't it _time_ CF stops deferring this? :) +1 also for THIS.timeZone (to set time zone as a per-app setting). Adobe, if this has already been deferred for Aether, I hope you'd please reconsider. Thanks!, -Aaron
Comment by Aaron N.
2661 | June 09, 2017 06:24:29 AM GMT
Psst: And please add proper support for milliseconds ;)
Comment by Aaron N.
2662 | June 09, 2017 06:27:19 AM GMT
Please see my Dec 16, 2008 comment here: ctrl+f for: "this.timezone"
Comment by Aaron N.
2663 | June 09, 2017 06:35:15 AM GMT
What does it take?
Comment by Aaron N.
29497 | August 15, 2018 11:17:57 PM GMT
How many years does it take to test this?
Comment by Kama S.
33283 | March 10, 2020 08:18:14 AM GMT