With a small snippet of dynamically created JavaScript, a user's time zone can be automatically detected.