Reporting second-quarter earnings in January 2009, Microsoft--beaten down by the worst PC market in several years--announced the first mass layoffs in the its 35-year historyUgly timesBut what a difference a year makes.

Microsoft just reported earnings for its second fiscal quarter, posting significant gains in sales and profits.