Linux console: how to easily create files with current date time mark

First of all the date command that gives us current date time in desired format:
date +date +%Y-%m-%d_%H-%M-%S


Create an alias to this using .bashrc file
alias fd="date +date +%Y-%m-%d_%H-%M-%S"


Just a quick oneliner for copy-paste
printf "\nalias fd='date +%%Y-%%m-%%d_%%H-%%M-%%S'\n\n" >> ~/.bashrc; source ~/.bashrc


Now we have a shortcut fd to get the datetime string. Its easy to create new files with it:
mysqldump my_db > $(fd).sql
So we gonna get "2018-04-09_08-01-55.sql" file instead of "dump123.sql"