• 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
"old" dob
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

"old" dob


  • Subject: "old" dob
  • From: Dan Faber <email@hidden>
  • Date: Wed, 6 Aug 2008 21:10:23 -0600

I am having trouble saving the date of birth of "old" people. There seems to be something wrong with any date before 4/1/1918. When we try to save a birthdate that is before that date, it is saved after subtracting one day. If the DOB is 3/15/1918, it is saved in the DB as 3/14/1918. When it is retrieved from the DB, it is displayed as 3/14/08.

We had a problem with daylight savings time earlier this year. Is this a similar problem? Is there something special about March 31, 1918 or April 1?

I have worked around the problem by adding a day to the NSTimestamp before saving to DB if the date is before 4/1/1918. This is a very unsatisfying solution.

I am using WO5.3, with wonder, on leopard. This happens in both development and deployment.

Thanks for any insight.

Dan Faber
_______________________________________________
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


  • Follow-Ups:
    • Re: "old" dob
      • From: Chuck Hill <email@hidden>
  • Prev by Date: WO 5.4.2 Prototypes and Manual Model Assembly
  • Next by Date: Re: "old" dob
  • Previous by thread: Re: WO 5.4.2 Prototypes and Manual Model Assembly
  • Next by thread: Re: "old" dob
  • Index(es):
    • Date
    • Thread