cmd

Formatted Date Strings in Linux

less than 1 minute read

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"