Simple an atomic clock
An atomic clock is a clock device that uses an electron transition frequency in the microwave, optical, or ultraviolet region of the electromagnetic spectrum of atoms as a frequency standard for its timekeeping element. Atomic clocks are the most accurate time and frequency standards known, and are used as primary standards for international time distribution services,
In a bit more detail
The actual time-reference of an atomic clock consists of an electronic oscillator operating at microwave frequency. The oscillator is arranged so that its frequency-determining components include an element that can be controlled by a feedback signal. The feedback signal keeps the oscillator tuned in resonance with the frequency of the electronic transition of caesium or rubidium.
The core of the atomic clock is a tunable microwave cavity containing a gas. In a hydrogen maser clock the gas emits microwaves (the gas mases) on a hyperfine transition, the field in the cavity oscillates, and the cavity is tuned for maximum microwave amplitude. Alternatively, in a caesium or rubidium clock, the beam or gas absorbs microwaves and the cavity contains an electronic amplifier to make it oscillate. For both types the atoms in the gas are prepared in one electronic state prior to filling them into the cavity. For the second type the number of atoms which change electronic state is detected and the cavity is tuned for a maximum of detected state changes.
You can also extend the idea into the realm of Quantum mechanics
Further information: Quantum clock
In March 2008, physicists at NIST described a quantum logic clock based on individual ions of beryllium and aluminium. This clock was compared to NIST's mercury ion clock. These were the most accurate clocks that had been constructed, with neither clock gaining nor losing time at a rate that would exceed a second in over a billion years. In February 2010, NIST physicists described a second, enhanced version of the quantum logic clock based on individual ions of magnesium and aluminium. Considered the world's most precise clock in 2010 with a fractional frequency inaccuracy of 8.6 × 10−18, it offers more than twice the precision of the original. 
Optical lattice clocks The accuracy of experimental quantum clocks has since been superseded by experimental optical lattice clocks based on strontium-87 and ytterbium-171.
Essentially you need a super stable timer..
For relativistic effects, you could still caculate the offset of "normal" time as long as you know you speed. Just as the GPS system does.
Einstein's general relativity theory says that gravity curves space and time, resulting in a tendency for the orbiting clocks to tick slightly faster, by about 45 microseconds per day. The net result is that time on a GPS satellite clock advances faster than a clock on the ground by about 38 microseconds per day.