Re: Custom Type for NSTimestamp
Re: Custom Type for NSTimestamp
- Subject: Re: Custom Type for NSTimestamp
- From: Ramsey Lee Gurley <email@hidden>
- Date: Mon, 08 Dec 2008 16:21:21 -0500
NSTimestamp's getTime()?
Ramsey
On Dec 8, 2008, at 4:07 PM, David Avendasora wrote:
Hi all,
I'm trying to work with an existing database where they have stored
date/time information as a Long Integer in the database.
I'm trying to figure out the best way to use a Custom Type in the
Entity Model so the app sees the attributes as NSTimestamps.
I've subclassed NSTimestamp and added a method to convert the db
value to it when read, which works, but getting it to write a Long
back to the database is what I'm struggling with.
I'm sure it is something simple, but I'm just not seeing it.
Dave
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
@mac.com
This email sent to email@hidden
Attachment:
smime.p7s
Description: S/MIME cryptographic signature
_______________________________________________
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