init clock with correct time