changed atbat time to sql datetime objects