• 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: Date Math Question and Daylight Savings Time
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Date Math Question and Daylight Savings Time


  • Subject: Re: Date Math Question and Daylight Savings Time
  • From: Chuck Hill <email@hidden>
  • Date: Thu, 20 Jan 2005 13:11:20 -0800

Yes.  This is my best practice: Foist the task off on someone else.  :-)
Sacha and I have a long running game of Hot Potato on this one.

Use GregorianCalendar, keep your wits about you, and resign yourself to writing some methods to make it work for you. You really have to decide what date and time means in your app and code according. This part does not "just work".


Chuck


On Jan 20, 2005, at 1:05 PM, Kieran Kelleher wrote:

Any advice on best practices of working with NSTimeStamp instances, user time zones and Daylight Savings Time in WebObjects and date/time database fields?

Regards, Kieran

On Jan 20, 2005, at 2:59 PM, Wolfram Stebel wrote:

Von: PA <email@hidden>
On Jan 20, 2005, at 19:55, Chuck Hill wrote:

My take is "working with Date/Time sucks in general

Right.
Wrong.


http://www.timeanddate.com/time/internettime.html

and sucks deeply in Java".

Suck it up and do like everybody else: write your own :o)
not neccessary

http://joda-time.sourceforge.net/

Cheers

--
PA
http://alt.textdrive.com/

if you are able to distinguish between time, date and datetime it seems
pretty straightforward.


Wolfram



_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
email@hidden


This email sent to email@hidden


_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
village.net


This email sent to email@hidden

--
Practical WebObjects - a book for intermediate WebObjects developers who want to increase their overall knowledge of WebObjects, or those who are trying to solve specific application development problems.
http://www.global-village.net/products/practical_webobjects




_______________________________________________
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: Date Math Question and Daylight Savings Time
      • From: James Cicenia <email@hidden>
References: 
 >Re:Date Math Question and Daylight Savings Time (From: Wolfram Stebel <email@hidden>)
 >Re: Date Math Question and Daylight Savings Time (From: Kieran Kelleher <email@hidden>)

  • Prev by Date: Re: Date Math Question and Daylight Savings Time
  • Next by Date: Re: Webobjects-dev Digest, Vol 2, Issue 31
  • Previous by thread: Re: Date Math Question and Daylight Savings Time
  • Next by thread: Re: Date Math Question and Daylight Savings Time
  • Index(es):
    • Date
    • Thread