Disclosed is a method comprising obtaining a plurality of previous clock skews, a reported temperature and a reported time, based on the plurality of previous clock skews, the reported temperature and the reported time, obtaining a prediction of the current clock skew, determining a current clock offset based on the predicted current clock skew, determining a clock adjustment based on the current clock offset and the reported time, and determining a corrected time based on the clock adjustment.