I will change the Subject text once I have the answer.
I’m quite comfortable writing the code. I’m looking for advice about what technique I can use to accomplish these three items.
This is a web application. I have an intranet domain that replicates into many different countries across the world. I am often asked to create databases which contain calendars and display events based upon date. Due to variations in timezones some events display on a different day compared to the reader!
In our intranet domain, we don’t have servers located in each timezone. A web user could enter a record, from any timezone, into a database on a server that could be in almost any other timezone.
Imagine a web page that contains five fields:
-
The Date
-
Time
-
TimeZone
-
Subject of Event
-
Physical Location of Event
What I’d like to do is
-
First I would concantonate the date, time and timezone fields into a single datetime item, right? How should it be stored in the single field (GMT or should I store it in multiple hidden fields for each timezone for step#2?)
-
Display all the within a single web view. If all the events were converted to same timezone (GMT) then they could mesh nicely. Is there a way to switch the whole view into another timezone matching the reader… such as a restricttocategory? That is why I’m thinking of storing the datetime into multiple hidden fields… anyone done this before?
-
create an agent that would send an email notification that would put a reminder in the recipients notes calendar at their correct datetime. (advice needed on the datetime only)
If you have done any of these things before, please post your reply so that hopefully, all three items can be accomplished.
Once I’ve assembled the answers, I’ll post it here:
-
I’m considering: store the datetime in GMT and also in hidden fields for every timezone
-
I’m considering: initially showing everything in GMT and see if there is some way I can allow the user to offset the datetime displayed to match whatever timezone they desire… experimentation required
-
I’m considering: sending the reminder in GMT in such a way as the notes client shows it that it is displayed as GMT so the user can manually change the combo box, on their form, to ‘LocalTime’
These sound feasible?
Thanks,
Stan