Heya Phil,

This is a known bug with the JVM.. as if that makes it any better.
Here is the fix as I wrote it up for a client:

-----------------------

>From Macromedia Technote - 52370:

ColdFusion MX can return incorrect time values if Windows 2000 Server
is set to the "Australia/Sydney" time zone. This problem is due to Sun
bug #4762673. To work around this issue, set the user.timezone JVM
argument.

Add this to your JVM arguments:
-Duser.timezone=Australia/Sydney

For more information, see 
http://developer.java.sun.com/developer/bugParade/bugs/4762673.html.

To do this:
Log into the Cold Fusion administrator:
http://[webserveraddress]/CFIDE/administrator/

Click on "Java and JVM" in the left nav.

In the box titled "JVM Arguments", scroll to the bottom of the
existing text there and enter the string:
 -Duser.timezone=Australia/Sydney
at the very end of the text, with a space before it.

Then Click "Submit Changes" at the bottom of the page.

You will then need to restart the Cold Fusion service, you can do this
through the "Services" control panel on the server machine.

--------------------------------



Thursday, March 11, 2004, 9:35:29 AM, you wrote:

PE> Hi All,

PE> My ISP just updated the production server from CFMX (6.0) to CFMX (6.1), and
PE> this has introduced a problem with the Now() function.

PE> The now() function is returning 10-Mar-2004 10:29 PM instead of 11-Mar-2004
PE> 9:39AM.

PE> Running on Windows 2000. The ISP has checked the system date/time and it is
PE> correct. The timezone is set to (GMT+10:00) Canberra, Melbourne, Sydney.

PE> Has anyone else seen this? How can I fix it?

PE> Thanks,
PE> Phil.


PE> ---
PE> You are currently subscribed to cfaussie as: [EMAIL PROTECTED]
PE> To unsubscribe send a blank email to [EMAIL PROTECTED]

PE> MXDU2004 + Macromedia DevCon AsiaPac + Sydney, Australia
PE> http://www.mxdu.com/ + 24-25 February, 2004


-----------------------
Ryan Sabir
Newgency Pty Ltd
2a Broughton St
Paddington 2021
Sydney, Australia
Ph (02) 9331 2133
Fax (02) 9331 5199
Mobile: 0411 512 454
http://www.newgency.com/index.cfm?referer=rysig 


---
You are currently subscribed to cfaussie as: [EMAIL PROTECTED]
To unsubscribe send a blank email to [EMAIL PROTECTED]

MXDU2004 + Macromedia DevCon AsiaPac + Sydney, Australia
http://www.mxdu.com/ + 24-25 February, 2004

Reply via email to