typecast timestamps with .to_time