Re: Getting a wrong stored time
Re: Getting a wrong stored time
- Subject: Re: Getting a wrong stored time
- From: Andrew Lindesay <email@hidden>
- Date: Sun, 12 Oct 2008 13:52:39 +1300
Hello Gus;
I use...
NSTimeZone.setDefault(java.util.TimeZone.getTimeZone("GMT+0000"));
TimeZone.setDefault(java.util.TimeZone.getTimeZone("GMT+0000"));
To force the application server JVM into GMT. Most database systems
will not interfere with the timezone of time information, but if they
do then you will also need to address that. I leave the EO modeller
timezone alone as I have never used that.
Maybe download the following PDF;
http://homepage.mac.com/andrewlindesay/le/manuals/lewostuff/LEWOStuffOverview.pdf
...and read subsection 6.22 "Timezone, Date and Time Handling in a
WebOb jects Application" as this may give you some ideas.
cheers.
Hello, I dunno what im doing wrong.. but even if I change in the
server timezone popup menu in EOModeler to GTM or whatever other
timezone... it still keep saying etc/GMT at the end of the line. is
it there where I should change it to be relative to GMT?..
___
Andrew Lindesay
www.lindesay.co.nz
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden