Thank you Alan,

Yes, I am using a Linux machine on Amazo AWS. I have looked up the 
jvm.config file but I have not had success. Are these configurations in a 
file with another name?

Best,
David 

On Tuesday, February 24, 2015 at 8:45:03 AM UTC-6, Alan Williamson wrote:
>
>  David i have ran this code on my local machine here, and i am EST 
> timezone, and everything reports as it should (see inline screenshot)
>
> This points to your JVM either not starting up in the correct timezone, or 
> your server isn't quite setup correctly.   I am on Windows if that is of 
> any help.  If you are on Linux then memory tells me there is a couple of 
> hoops you have to jump through.   We recently went the other way; setting 
> all servers to be UTC no matter where in the world they were.
>
>
>
>
> On 24/02/2015 06:11, Alan Williamson wrote:
>  
> <cfdump var="#now()#"><br />
> Time Zone: <cfdump var="#getTimeZoneInfo()#"><br />
> CF Version: <cfdump var="#server.coldfusion#"><br />
> <cfset version = createObject("java", 
> "java.lang.System").getProperty("java.version")><br />
> Java: <cfdump var="#version#"></p>
> <cfset tz = CreateObject("java", "java.util.TimeZone")>
> <cfset tz = tz.getDefault()>
> TimeZone: <cfdump var="#tz.getDisplayName()# (#tz.getID()#) "><br>
>
>  <cfset prop = createObject("java", 
> "java.lang.System").getProperty("user.timezone")>
> User.timezone =  <cfdump var="#prop#"><br> 
> <cfset info = GetTimeZoneInfo()>
>
>  <cfoutput>
> <p>Total offset in seconds is #info.utcTotalOffset#.</p>
> <p>Offset in hours is #info.utcHourOffset#.</p>
> <p>Offset in minutes minus the offset in hours is
>     #info.utcMinuteOffset#.</p>
> <p>Is Daylight Savings Time in effect? #info.isDSTOn#.</p>
> </cfoutput>
>
>
>  

-- 
-- 
online documentation: http://openbd.org/manual/
 http://groups.google.com/group/openbd?hl=en

--- 
You received this message because you are subscribed to the Google Groups "Open 
BlueDragon" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to