Replaced DAYOFMONTH with SQL Azure compatible DAY. Fixes date based permalinks, among other things.