This a clock that is rigged in Cinema 4D to run automatically based on settings you can control. Lots of options, and lots of Xpresso. This rig is free to use and modify however you want, and hopefully you can learn by checking out the xpresso setup.
This rig is from the tutorial: Clock rig in Cinema 4D with Xpresso
Download the rig here: SOM_Clock_Rig