changes made to fit the date/time format

added hour and min to converToDate, also made sure it passes month correctly.