linux date command live update

C++
date +"%d-%m-%y"{ while true ; do date ; sleep 0.1 ; done } | uniq
Source

Also in C++: