• 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: how to handle dates alone
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: how to handle dates alone


  • Subject: Re: how to handle dates alone
  • From: Jesse Tayler <email@hidden>
  • Date: Fri, 28 Jan 2011 14:03:25 -0500

dates are always a pain, right?

I lean toward normalizing the dates and looking at them more at presentation - relative date formats are all the rage because it excuses timezone and other issues but you always have to have a static way to store them - use seconds from epoch, or modern timezones or whatever is most consistent for your needs but you gotta stick to that.

In your case, sounds like you just want to set the "time" to always be 5:pm or midnight or something, and just ignore that during presentation and input.

Anyway, moving to a new box and timezone or changes like that are always tough, I feel for ya! At least you've caught it now eh?

good luck, and sorry dates still suck and stuff.

On Jan 28, 2011, at 1:49 PM, Theodore Petrosky wrote:

> so I was out the other night with the really h (sorry wrong forum)
>
> How are people handling dates with no timezone (and no time, just the date alone)? I really want to use the date column type and not care about the time nor zone but I haven't figured out a way.
>
> I just got bitten with a timezone problem when shifting my app to a different box. There must be a prescribed and easier way.
>
> Ted
>
>
>
> _______________________________________________
> 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
>

 _______________________________________________
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

References: 
 >how to handle dates alone (From: Theodore Petrosky <email@hidden>)

  • Prev by Date: Re: how to handle dates alone
  • Next by Date: Re: how to handle dates alone
  • Previous by thread: Re: how to handle dates alone
  • Next by thread: Re: how to handle dates alone
  • Index(es):
    • Date
    • Thread