Hi,
I have a date of birth variable in int form. For example an observation could be "07dec1978".
I want to turn it into a string variable first and then draw out the first two characters out of the variable (07 in my example) by substr function.
But when I run the tostring command, 07dec1978 becomes 6915!
How is that possible and how can I fix this?
Best
I have a date of birth variable in int form. For example an observation could be "07dec1978".
I want to turn it into a string variable first and then draw out the first two characters out of the variable (07 in my example) by substr function.
But when I run the tostring command, 07dec1978 becomes 6915!
How is that possible and how can I fix this?
Best

Comment