Refactor ProjectVC code into createDateFormatter.