All sorts of things in the dialplan might be dependant on the timezone.

If users and companies are in a timezone that is different from the zone of the server, how can one manage that?

I thought about just calculating the difference between the system time and the user's time zone, but this can get tricky.

For example, in Saskatchewan they don't use daylight saving time (at least not last time I checked). This means that for half the year, they are on Central Standard Time, and half the year they are effectively in Mountain Daylight Time.

So a dialplan that's on a server in Eastern Time, which needs to calculate when to do certain things for users in Saskatchewan, would need to know when they are 1 hour different, and when they are 2 hours different.

The data is all in Linux (the zonedata files are extensive), however I can't figure out an easy way to have the timezone calculations handled. My thinking was to assign a user to a zonedata file, and then run a function against that to calculate the difference between their zone, and the zone of the server.

Anybody done anything like this?

Any experiences or suggestions would be most appreciated.

Regards,

Jim


--

--
Jim Van Meggelen
[email protected]
http://www.oreillynet.com/pub/au/2177

"A child is the ultimate startup, and I have three.
This makes me rich."
                    Guy Kawasaki
--


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to