You have to known the end user's preferred timezone. Since browsers don't send timezones (only the preferred language) the only way to know what the preferred timezone is, is by letting users choose one. This would require implementing a (basic) "user profile"-function or using the /$preferences.nsf database/ function.