Added Apache licensing information.
Added extension method to DateTime to convert to Date.