I need my script to store a date as a variable.
The current script I have to generate the date is working.
The output generated is, for example: 2015-9-26
Now I need it to store the generated output to a variable.
To my knowledge, a string will do best for this but my compiler won't allow this. (Visual Studio on 2015)
Why doesn't it allow this to be stored as a string?
It states that the operator doens't match the operand, but when I try to enclose it () it also doesn't work.