echo linux date yyyy-mm-dd hh:mm:ss

By | January 2, 2023
TS=$(date "+%Y-%m-%d %H:%M:%S")
echo $TS

Leave a Reply

Your email address will not be published. Required fields are marked *