Geek Post
Feb-5-2008
<geek post>
I just finished a really awesome function that takes a time zone string i.e. EST and a list of datetime values in the format [D, M, Y, h, m, s] and returns the current time offset by the values you enter in the list. I made it work with the fact that there are a different number of days in each month, and also factor in leap years. It took me a good while and a lot of thinking, but I finally accomplished it. The only problem is I just found out that browser cookies actually do work with GMT and not any other time zone. The entire function is now rendered useless. It is really sad.
</geek post>
Posted under Uncategorized