Method to align measuring times of a first and a second measurement of an electric quantity, where the first measurement • is taken at a local end of a line of a power network and • is transmitted by a first protection device together with a corresponding first measuring time expressed by a first internal clock via a telecommunication network to a remote end of the line and where the second measurement • is taken at the remote end of the line and • is transmitted by a second protection device together with a corresponding second measuring time expressed by a second internal clock via the telecommunication network to the local end of the line after the first measurement was received by the second protection device, the method comprising the steps of • determining a send transmission time (TmS) from the local to the remote end of the line, • determining a receive transmission time (TmR) from the remote to the local end of the line, • aligning the measuring times of the first and the second measurements by expressing the measuring time of the second measurement in terms of the first internal clock using the send (TmS) and receive (TmR) transmission times, characterized in that • as long as the first and the second internal clock are synchronized by a global time reference a transmission difference (Asm) is determined as difference between the send (TmS) and the receive (TmR) transmission times and the transmission difference (Asm) is stored, • after losing the global time reference, o a clock drift is determined between the first and the second internal clock from the transmission difference (Asm_prec) stored just before losing the global time reference and from send (TmS) and receive (TmR) transmission times that have been determined using time signals (ts1, tr1, ts2, ts2) generated by the first and the second internal clock, ∘ the measuring times are aligned by additionally taking into account the clock drift, and ∘ a sudden change in the clock drift is determined and the stored transmission difference (Asm_prec) is corrected using values of the clock drift determined just before and just after the sudden change. • is taken at a local end of a line of a power network and • is transmitted by a first protection device together with a corresponding first measuring time expressed by a first internal clock via a telecommunication network to a remote end of the line and where the second measurement • is taken at the remote end of the line and • is transmitted by a second protection device together with a corresponding second measuring time expressed by a second internal clock via the telecommunication network to the local end of the line after the first measurement was received by the second protection device, the method comprising the steps of • determining a send transmission time (TmS) from the local to the remote end of the line, • determining a receive transmission time (TmR) from the remote to the local end of the line, • aligning the measuring times of the first and the second measurements by expressing the measuring time of the second measurement in terms of the first internal clock using the send (TmS) and receive (TmR) transmission times, characterized in that • as long as the first and the second internal clock are synchronized by a global time reference a transmission difference (Asm) is determined as difference between the send (TmS) and the receive (TmR) transmission times and the transmission difference (Asm) is stored, • after losing the global time reference, o a clock drift is determined between the first and the second internal clock from the transmission difference (Asm_prec) stored just before losing the global time reference and from send (TmS) and receive (TmR) transmission times that have been determined using time signals (ts1, tr1, ts2, ts2) generated by the first and the second internal clock, ∘ the measuring times are aligned by additionally taking into account the clock drift, and ∘ a sudden change in the clock drift is determined and the stored transmission difference (Asm_prec) is corrected using values of the clock drift determined just before and just after the sudden change. o a clock drift is determined between the first and the second internal clock from the transmission difference (Asm_prec) stored just before losing the global time reference and from send (TmS) and receive (TmR) transmission times that have been determined using time signals (ts1, tr1, ts2, ts2) generated by the first and the second internal clock, ∘ the measuring times are aligned by additionally taking into account the clock drift, and ∘ a sudden change in the clock drift is determined and the stored transmission difference (Asm_prec) is corrected using values of the clock drift determined just before and just after the sudden change.