Formatted Date Strings in Linux
You can easily print the current time as a formatted string using the date
command in linux:
date "+%Y-%m-%d %H:%M:%S %z"
You can easily print the current time as a formatted string using the date
command in linux:
date "+%Y-%m-%d %H:%M:%S %z"