have a look at the code the clock is updated every 1000ms