Re: PosgreSQL & NSTimestamp
Re: PosgreSQL & NSTimestamp
- Subject: Re: PosgreSQL & NSTimestamp
- From: LD <email@hidden>
- Date: Mon, 17 Oct 2005 13:25:01 +1000
Hi there,
On 15/10/2005, at 4:00 PM, Paolo Sommaruga wrote:
On 15/10/2005, at 1:40 PM, Colin Shreffler wrote:
On 10/14/05 7:58 PM, "LD" wrote:
On 15/10/2005, at 6:44 AM, Colin Shreffler wrote:
I'm using the PostgresPlugin to try to save NSTimestamp information
to my PostgreSQL database.
The times continue to get chopped off, however and only the date
makes it to the database.
Has anyone else had this same problem?
A couple of years ago when first starting with WO with Postgres.
What column type are you using?
http://www.postgresql.org/docs/8.0/static/datatype-datetime.html
It's worth noting: NSTimestamp does not maintain time zone
information.
That will also drive you crazy until you realise that fact.
<...>
Thank you very much for your help. I will give this a shot. If
you think
the project would be helpful, I'd gladly receive it :)
Cheers!
-c
can send me too your basic project ?
Thanks and Regards
Paolo
See: http://keyvaluecoding.com/ for NSTimestamp with various
TimeZones Discussion and Demo.
Again, a word of caution - the project was initially created in 2002
[1] (and I've very quickly updated the info described within for
Xcode), so there may be mistakes. let me know if you have any problems.
[1] I think this might have been the year I began with WebObjects.
Anyway, it should help to demonstrate using timestamps consistently.
with regards,
--
LD
_______________________________________________
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