A computer-implemented method for synchronizing time between a handheld diabetes management device and an insulin pump that interoperate with each other via a wireless data link, comprising: - determining, by the diabetes management device, a first time as measured by a first clock residing in the diabetes management device; - establishing, by the diabetes management device, the wireless data link with the insulin pump; - requesting, by the diabetes management device, a second time, via the wireless data link, from the insulin pump; - retrieving, by the diabetes management device, the second time, via the wireless data link, from the insulin pump, the second time measured by a second clock residing in the insulin pump; - computing, by the diabetes management device, a difference between the first time and the second time; - retrieving, by the diabetes management device, a log of events occurring on the insulin pump, via the wireless data link, from the insulin pump; - determining, by the diabetes management device, whether at least one of the first clock and the second clock was set manually by a user, the determination based in part on entries in the log retrieved from the insulin pump; - setting, by the diabetes management device, time of the first clock in accordance with the second time, the setting occurring in response to a determination that the difference exceeds a minimum threshold value and the second clock was set manually by the user; - prompting, by the diabetes management device, a user to input current time, the prompting occurring in response to a determination that the difference exceeds a maximum threshold value which is larger than the minimum threshold value; and - setting, by the diabetes management device, time of the first clock to the current time input by the user. - determining, by the diabetes management device, a first time as measured by a first clock residing in the diabetes management device; - establishing, by the diabetes management device, the wireless data link with the insulin pump; - requesting, by the diabetes management device, a second time, via the wireless data link, from the insulin pump; - retrieving, by the diabetes management device, the second time, via the wireless data link, from the insulin pump, the second time measured by a second clock residing in the insulin pump; - computing, by the diabetes management device, a difference between the first time and the second time; - retrieving, by the diabetes management device, a log of events occurring on the insulin pump, via the wireless data link, from the insulin pump; - determining, by the diabetes management device, whether at least one of the first clock and the second clock was set manually by a user, the determination based in part on entries in the log retrieved from the insulin pump; - setting, by the diabetes management device, time of the first clock in accordance with the second time, the setting occurring in response to a determination that the difference exceeds a minimum threshold value and the second clock was set manually by the user; - prompting, by the diabetes management device, a user to input current time, the prompting occurring in response to a determination that the difference exceeds a maximum threshold value which is larger than the minimum threshold value; and - setting, by the diabetes management device, time of the first clock to the current time input by the user.