check time linux code example
Example 1: get current server time centos
timedatectl
Example 2: show date linux
date +"%d-%m-%y"
Example 3: time in linux command
date
or
timedatectl
timedatectl
date +"%d-%m-%y"
date
or
timedatectl