#native_company# #native_desc#
#native_cta#

Universal time droplist displaying local time

By Dan on Feb 8, 2000

This is a droplist displaying local time values from 12:00am – 12:00am in 15 minute increments and using Universal or GMT time values. Works great for storing absolute GMT time in a DB and displaying time relative to the user’s local time. Since I’m writing the HTML in JS, I have set the onChange event to display an alert of the GMT value behind the displayed value.