How to Change Clock Time

The system clock starts once the system is executed. But how can I update the clock value to certain other value? Let say, for example. If a=10, then, immediately the clock is set to 10 seconds after the current clock time. Is it possible?
Last edited on
1
2
a = time(0); //Or whatever other time, in seconds. 
a = a + 10;


Topic archived. No new replies allowed.