changed time type and added date, time and date type