HISTTIMEFORMAT="%d/%m/%y %H:%M "
For any commands entered before this, this will not help, as they will simply get the default time when you turned on the history, but after that it will record the time of any subsequent commands.
If you want it to record history permanently, you should put the following in your ~/.bashrc
export HISTTIMEFORMAT="%d/%m/%y %H:%M "
Optimizer
source share