generating correct time value within serviceEvent