I want to assign a formatted date to a variable and then
add the date variable to the name of a log file.
This doesn't work for the assignement
RunDate= Date '+%y-%m-%d'
How would I get the variable assigment to work?
how would I create a log file name that would look like this?
# variables
RunDate=????
LogFile= "LoadLog-"
LogExtension= ".log"
#log file name I want to create
LoadLog-03-04-24.log
How do you build the single string?
Thank you
add the date variable to the name of a log file.
This doesn't work for the assignement
RunDate= Date '+%y-%m-%d'
How would I get the variable assigment to work?
how would I create a log file name that would look like this?
# variables
RunDate=????
LogFile= "LoadLog-"
LogExtension= ".log"
#log file name I want to create
LoadLog-03-04-24.log
How do you build the single string?
Thank you