Python | time.clock_settime() method
time.clock_settime() method of Time module is used to set the time (in seconds) of the specified clock clk_id. Basically, clk_id is a integer value which represents the id of the clock.
Syntax: time.clock_settime(clk_id, seconds)
clk_id: A clk_id constant or an integer value representing clk_id of the clock.
Return type: This method does not return any value.
Code: Use of
Current value of system-wide real-time clock: 1568589568 seconds Time modified Current value of system-wide real-time clock: 10000000 seconds