• 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: Recording and looking up dates, when day-wide precision is required
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Recording and looking up dates, when day-wide precision is required


  • Subject: Re: Recording and looking up dates, when day-wide precision is required
  • From: David Avendasora <email@hidden>
  • Date: Mon, 22 Dec 2008 16:23:24 -0500

Here's something useful stuff from the archives when I brought up java dates almost a year ago:

http://lists.apple.com/archives/Webobjects-dev/2008/Jan//msg00030.html

And

http://lists.apple.com/archives/Webobjects-dev/2008/Jan/msg00054.html

Since then, I'm firmly with Chuck and the goats.

Dave


On Dec 22, 2008, at 3:07 PM, Chuck Hill wrote:


On Dec 22, 2008, at 11:32 AM, Florijan Stamenkovic wrote:

Hi all,


I am recording daily currency conversion rates.

The problem I have is that at the moment currency information can be input from wherever on the planet. Now, most users will deal with date info only, when it comes to currency info, leaving time and timezone issues in Java's hands. Java seems to automatically set a parsed date to the time of 00:00:00 in the current timezone. What I am thinking of is "normalizing" dates after input. Essentially extracting the date (textually) from the Date that Java parsed, and setting it to 12:00:00 GMT, in hope that will ease qualification / filtering later on.

So, does anyone do this? Does anyone have a better strategy? This is the first time I am doing stuff with dates requires tight control of what's happening...

I do this, but I usually only work over 2-3 timezones. World wide, this might still have some issues. I hate thinking about dates and times. Bring on the goats!


Chuck


-- 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







_______________________________________________ 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: 
 >Recording and looking up dates, when day-wide precision is required (From: Florijan Stamenkovic <email@hidden>)
 >Re: Recording and looking up dates, when day-wide precision is required (From: Chuck Hill <email@hidden>)

  • Prev by Date: Re: Recording and looking up dates, when day-wide precision is required
  • Next by Date: Re: [OT] New WO Years Resolutions.
  • Previous by thread: Re: Recording and looking up dates, when day-wide precision is required
  • Next by thread: Re: Recording and looking up dates, when day-wide precision is required
  • Index(es):
    • Date
    • Thread