Adding more changes to allow the millisecond time difference be stored in a long.