Re: how to handle dates alone
Re: how to handle dates alone
- Subject: Re: how to handle dates alone
- From: Chuck Hill <email@hidden>
- Date: Fri, 28 Jan 2011 10:56:28 -0800
Dates don't actually exist. Only instantaneous points in time exist (well, give or take certain theories from theoretical physics). What we talk about as dates are highly subjective spans of time. Standard Java does not support such subjective concepts. You could "normalize" all dates to noon in GMT so that the times are equal (assuming you never go more than 11 time zones away). The only other solution that I am familiar with is Joda Time.
Chuck
On Jan 28, 2011, at 10:49 AM, 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
--
Chuck Hill Senior Consultant / VP Development
Practical WebObjects - for developers who want to increase their overall knowledge of WebObjects or who are trying to solve specific problems.
http://www.global-village.net/products/practical_webobjects
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