W3C home > Mailing lists > Public > www-international@w3.org > October to December 2001

Re: Time Zones in Searches

From: Martin Duerst <duerst@w3.org>
Date: Sat, 27 Oct 2001 14:43:11 +0900
Message-Id: <4.2.0.58.J.20011027144023.0438b100@localhost>
To: Eric Kreiser <ekreiser@knowledgeplanet.com>, "Www-International-w3c-org (E-mail)" <www-international@w3.org>
I think it really depends on the kind of application/query.
In some applications, you may want to get all the things
that are on a given date, at their location. Then you need
info on where the events occur. In other cases, you may
want to look for absolute timespans. Also, for e.g. TV
programs, it's usual to present the first few hours of
the next day with the previous day, because that's how
most people watch the stuff. So it's really quite application-
dependent.

Regards,   Martin.

At 09:12 01/10/26 -0400, Eric Kreiser wrote:
>Is there a standard/commonly accepted way to search dates with time zones.
>
>I am developing an application that I need to store all dates relative to 
>time zone.  (Using Oracle 8i as a database)
>When the user enters the information, before storing it to the database, I 
>convert all date/times to UTC (I need a consistent/comparable date/time).
>
>Now the problem, when the user is searching based on these dates
>----Is it common to have the user specify a time zone relative to the 
>date/times on the search screen???
>----Or, is it common to have the user just enter a date/time on the search 
>screen and return items that occurred on that date/time irregardless of 
>time zone???
>
>Is anyone doing anything similar?  Any suggestions/comments,etc... are 
>welcome.
Received on Saturday, 27 October 2001 22:49:37 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Tuesday, 2 June 2009 19:16:58 GMT