Handling Daylight Savings Time in ColdFusion

SportsFilter has been misreporting the time on posts and comments since the U.S. sprang forward, reporting times in CST instead of CDT. To fix the problem, I wrote a few lines of ColdFusion code to set a tzid variable to the proper timezone identifier: <cfset tzinfo = GetTimeZoneInfo()> <cfset tzid = "CST"> <cfif tzinfo.isDSTOn IS "True">   <cfset tzid = "CDT"> </cfif> ... (read more)