Added convertDate to BaseController