• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: PosgreSQL & NSTimestamp
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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
  • Prev by Date: Won't load my model
  • Next by Date: Re: WO and MySQL
  • Previous by thread: Re: PosgreSQL & NSTimestamp
  • Next by thread: How to create a restricted authenticated download area??
  • Index(es):
    • Date
    • Thread