Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 3421232
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 18, 20262026-05-18T06:05:10+00:00 2026-05-18T06:05:10+00:00

When I execute getDefault() on a java.util.TimeZone object created from ColdFusion 9 I am

  • 0

When I execute getDefault() on a java.util.TimeZone object created from ColdFusion 9 I am getting “Pakistan Time”. We are in the eastern timezone and our server (Windows 2003) is reporting proper timezone. Where would ColdFusions JVM be getting this timezone?

TimeZone: Pakistan Time (Asia/Karachi)

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-18T06:05:11+00:00Added an answer on May 18, 2026 at 6:05 am

    try this: http://troymurray.blogspot.com/2007/12/coldfusion-timezone-change.html(deleted)

    Content retrieved from Google’s cache:

    ColdFusion Timezone Change

    So I’ve been working on a component to accept data from whatever and insert it into our Oracle database, no big deal. But, I need to do this with date and times, which gets really sticky with Oracle. I noticed however that my ColdFusion function Now() was returning the wrong time, about 5 hours off, which corresponds to my timezone (-5).
    I looked all through the ColdFusion Admin but wasn’t able to find anywhere to specify this. I then seem to remember that when I setup this server, and installed ColdFusion on it, that I had the wrong timezone set and somehow that must have been saved. Since ColdFusion relies on Java I needed to change the time zone with the Java Virtual Machine (JVM) that ColdFusion runs. Here is how I did it:

    1. First, find the correct timezone ID for your location. I found mine by going here.
    2. Login to the ColdFusion Admin
    3. Under Server Settings go to Java and JVM
    4. Locate the JVM Arguments textarea
    5. Add a space after the last character, then “-Duser.timezone=” and then your timezone ID.
    6. Click the “Submit Changes” button
    7. Restart the “ColdFusion 8 Application Server” service
    8. Verify your time shows correctly now.
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I'd like to execute JavaScript code from within a C# assembly and have the
I would like to execute an OS command from my ruby script but I
How can I execute a.exe using the Cygwin shell? I created a C file
Is it possbile to execute linux commands with java? I am trying to create
When I try to execute a view that includes tables from different schemas an
I execute a query in JDBC delete * from mytable where ... I got:
I am trying to execute a function every time a field changes. Just to
It is possible to execute the following code from multiple threads simultaneously. this._sequencer.Completed +=
I'd like to execute a function from the top of the stack. That is,
Is it possible to execute a statement like this in NHibernate? SELECT * FROM

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.