• 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
Default value for Date Atttribute in Core Data application
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Default value for Date Atttribute in Core Data application


  • Subject: Default value for Date Atttribute in Core Data application
  • From: "Lee Gillen" <email@hidden>
  • Date: Thu, 10 Aug 2006 09:18:43 -0400

Hello,

I have a Core Data application that has a date attribute for one of
the entities. I'd like to set the default value for this attribute to
be the current date and time that the data was created. I found that I
can use a default value of 'now' or 'today' and it will populate the
attribute with the date the data was created, but not the time.

Is there a default value I can use that provides both the date and
time the data was created to be used in the default value for a date
attribute?

Thanks,

Lee

--

http://www.leegillen.com
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden


  • Follow-Ups:
    • Re: Default value for Date Atttribute in Core Data application
      • From: Bill Coleman <email@hidden>
    • Re: Default value for Date Atttribute in Core Data application
      • From: Robert Cerny <email@hidden>
  • Prev by Date: Re: Cocoa Bindings - NSTextfield value
  • Next by Date: Re: Default value for Date Atttribute in Core Data application
  • Previous by thread: Timzeone change notification
  • Next by thread: Re: Default value for Date Atttribute in Core Data application
  • Index(es):
    • Date
    • Thread