datetime echo shell script

C++
$(date '+%d/%m/%Y %H:%M:%S')
Source

Also in C++: