To answer your direct question, you can use the :let command to set a shell variable from Vim directly, using the $ prefix on the variable name. That's probably the most straightforward way to do so, even though it ends up creating an exported variable.
let $date_given_sh = date_given_vim
let $date_given_sh = "2000-01-01"
See :help :...