Absolute clock

dose any one know how to make code (a game) based around an absolute clock rather than enter frame