Better month conversion with as.Date