in bash standard output of history command is ordered by execution , but sometimes is not enough , date of the execution can help to point the exact operation execution. It’s usefull when I iterate same command many times during the month year to be sure when it was ran .
This two simple lines of code add ( define HISTTIMEFORMAT ) option for history command and it will be print during history call .
echo 'export HISTTIMEFORMAT="%d/%m/%y %T "' >> ~/.bash_profile
. ~/.bash_profile
If you use zsh you can use -E option to show the dateTime value