bash echo datetime code example
Example 1: datetime echo shell script
$(date '+%d/%m/%Y %H:%M:%S')
Example 2: bash date
date #displays date and time in terminal
$(date '+%d/%m/%Y %H:%M:%S')
date #displays date and time in terminal