Accidently had the time going to the ID. Still not getting the time and microseconds correct. I think this is because they aren't ints but actually timeval's.