Workbench: Programming, Publishing, Politics, and Popes

Subscriptions

Menu

Working On

Locals

Favorites

Miscellany

Technorati

XFN Friendly

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

Twitter

How is it even possible to spend $3,000 a month on online porn? The repetitive motion stress would be enormous. about 13 hours ago