changed formatting of dates to be normal MySQL time format