Since the U.S. DST change is coming up this weekend, I thought it would be a good time to remind people about date math in ActionScript.
When working with dates, make sure you don't use milliseconds (UNIX timestamps) to increment/decrement times and dates. Instead, always increment the hours, date and similar properties on Date object.
However, there is a bug in the player currently causing increments to myDate.hours to not do the correct thing. To avoid this problem, use the myDate.hoursUTC property instead.
You can safely add/subtract hours and the Date class will automatically increment the actual underlying date. For example, if the date is 10/27/2008 23:00 and you add an hour, the date will rollover to 10/28/2008 00:00 as expected. The same goes for adding days, months and years.
70e9cdf6-0e3c-42a0-8054-e2dd65e5ce3f|1|1.0|96d5b379-7e1d-4dac-a6ba-1e50db561b04
While I don't recommend it, you can do the following to install Flash Player on Windows Home Server:
-
Open Internet Explorer.
-
Click Tools, and then click Internet Options.
-
Select the Security page.
-
Click on Trusted sites.
-
Click Sites.
-
Add http://*.adobe.com and http://*.macromedia.com as trusted sites, and then click Close.
-
Click OK to close the Internet Options window .
-
e7b37484-dab0-457f-b783-1327512fc568|0|.0|96d5b379-7e1d-4dac-a6ba-1e50db561b04