time difference is in seconds