Re: TimeZone Issue



On Mon, 30 Mar 2009 21:47:17 -0700 (PDT), jagadesh
<jagadesh.manchala@xxxxxxxxx> wrote, quoted or indirectly quoted
someone who said :

i have developed a appointment sort of web appliation. my problem is
whenever i create a appointment in india ,it get saved in server which
is in chicago. if i create a n appointment on 9 am today . it saves in
server.but when a person in chicago opens the appointment , the
appointment creation time and date are different .since the timezones
are different .

How can i handle this Situation ?

Presuming you have control of client and server code, store the time
it UTC, then convert it to the locale of wherever the user is.

If you are using an Applet, the default TimeZone will automatically be
India.

If you are using just a browser, you will need to have some sort of
account with the server, and configure your preferred timezone. You
will notice nearly all the Forums doing this.
--
Roedy Green Canadian Mind Products
http://mindprod.com

"Danish studies of 10,000 birds killed revealed that almost all died in
collisions with buildings, cars and wires; only 10 were killed by windmills.
Alternative energy sources are absolutely necessary.
Global warming will kill birds and bats, as well as other species,
in much greater numbers than wind power."
~ Dr. David Suzuki
.



Relevant Pages

  • Re: TimeZone Issue
    ... if i create a n appointment on 9 am today. ... server.but when a person in chicago opens the appointment, ... people in India and the people in Chicago have may have a different ... your effort trying to get rid of the time and timezone. ...
    (comp.lang.java.programmer)
  • Re: TimeZone Issue
    ... if i create a n appointment on 9 am today. ... server.but when a person in chicago opens the appointment, ... then both India and Chicago will ... see the same time formatted after local timezone, ...
    (comp.lang.java.programmer)
  • Re: TimeZone Issue
    ... whenever i create a appointment in india,it get saved in server which is in chicago. ... it saves in server.but when a person in chicago opens the appointment, the appointment creation time and date are different .since the timezones are different. ...
    (comp.lang.java.programmer)
  • TimeZone Issue
    ... i have developed a appointment sort of web appliation. ... whenever i create a appointment in india,it get saved in server which ... server.but when a person in chicago opens the appointment, ...
    (comp.lang.java.programmer)
  • Re: getFreeBusy does not retrieve real time free / busy status on calendars
    ... It takes a bit to refresh the free/busy folder on the server. ... Outlook Object Model. ... appointment immediately, it takes like a minute after the appointment was ...
    (microsoft.public.exchange.development)