converted time received to datetime object