Hello,
I'm facing trouble telling stata the format of my time variable.

My time variable "time" has the format:
- 200201 (for jan. 2002)
-200202 (for feb. 2002)

Besides quite a few other options, I've tried the code:

generate time2 = monthly(time, "YM")

But it creats nothing but missings...
Can anybody help me?

Beste regards,
Nicolas