Hello, there is a problem with converting variables.
I got date variable "rand1" that is character and has date format(ddyymm10.) and represents as 10JUN2014(example)
I need to create new variable "rand2" and make a numeric representation of "rand1" ex - 14686(i think it's a days from 1 Jan 1960 date9. type). So, the simple code as
rand2 = input(rand2, 8. or date9. or whatever) makes this error
NOTE: Invalid argument to function INPUT
Why? I don't know. There is no more errors.
Thanks in advance.