You might want to add to your startup script (on Unix)
setting var  export TZ=EDT
and set locale too

curt


Geoff Soutter wrote:
> I've had problems with Java timezones before. As I remember, Unix 
> inherits timezone settings from it's environment. Did you run your java 
> test class with the same environment as Orion (eg the same user)?
> 
>  
> 
> geoff
> 
>     -----Original Message-----
>     *From:* [EMAIL PROTECTED]
>     [mailto:[EMAIL PROTECTED]] *On Behalf Of *Troy Gibson
>     *Sent:* Wednesday, 13 February 2002 6:00 AM
>     *To:* Orion-Interest
>     *Subject:* System Date.
> 
>     Having trouble with system Date. In Orion our application converts
>     dates based on our users time zone. For some reason our application
>     is producing incorrect date times. The same piece of code when ran
>     on its own as a Java class produces correct time conversions. Are
>     there environment variables that Orion uses that may cause it to
>     interprets the system date differently than what the system date
>     really is? We use a staging and production instances of Orion
>     running on two different Unix boxes. Both boxes have the same system
>     date, the application running on staging produces correct dates, the
>     one on production does not, further evidence that maybe the problem
>     lies with the Orion instance and not the code or the servers.
> 
>     Thanks for any ideas you may have.
> 



-- 

Curt Smith
[EMAIL PROTECTED]
(w) 404-463-0973
(h) 404-294-6686




Reply via email to