What's wrong with the commands below?
$ var1="~/Music/$(date +%d%m%y)"
$ echo "$var1"
~/Music/240118
$ mkdir "$var1"
mkdir: cannot create directory ‘~/Music/240118’: No such file or directory
However
$ mkdir ~/Music/240118
works.
Never thought I would ask such questions after years of using bash...