How to Change a ColdFusion Time Zone on Linux
If you are building and launching Internet applications using ColdFusion, ColdFusion's time zone must reflect your location's time zone for scheduling purposes. ColdFusion defaults to the computer's time zone, so if your computer's time zone is inaccurate, you must adjust it in order for ColdFusion to do the same. On a Linux computer, you can do this in a terminal window using a few simple commands.
Instructions
-
-
1
Open the computer's terminal window, type "$ ls /usr/share/zoneinfo" (without quotes) and press "Enter." A list of time zone data files appears. Locate and write down the time zone data file that corresponds to your time zone. For example, to set the computer to Pacific Standard Time, use "Pacific right."
-
2
Type "# date" (without quotes) in the terminal window and press "Enter." The terminal shows current date and time info.
-
-
3
Type "# cd /etc" (without quotes) in the terminal window, press "Enter," then type "# ln -sf /usr/share/zoneinfo/TimezoneDataFileName localtime," replacing "TimezoneDataFileName" with the data file name you wrote down in Step 1. Press the "Enter" key to change the time zone data file.
-
4
Type "# date" in the terminal window and press "Enter" to see the updated date and time info.
-
1