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?..


Gus


On Oct 10, 2008, at 4:21 PM, Andrew Lindesay wrote:

Hello Gus;

Is your application server running in GMT. It is best to store your date/time data relative to GMT and then to convert it to a user's timezone using formatters in your user interface.

cheers.

Hello I have an attribute in a table called Start_Date_Time. which is a timestamp in the db schema. in the EOModel I used a dateTime prototype and external type timestamp and data type Timestamp- NSTimestamp T
I have the following data in that attribute

-1-12-30 09:00:00 -0500
-1-12-30 12:00:00 -0500
-1-12-30 15:00:00 -0500
-1-12-30 18:00:00 -0500

After I fetch all those, and print them Im getting the following
1-01-01 14:00:00 Etc/GMT
1-01-01 17:00:00 Etc/GMT
1-01-01 20:00:00 Etc/GMT
1-01-01 23:00:00 Etc/GMT

As you can see the 3 hours diference between times still remains even in the weird output.

___
Andrew Lindesay
www.lindesay.co.nz


_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list      (Webobjects-dev@lists.apple.com)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com

This email sent to [EMAIL PROTECTED]

Reply via email to