Dear Statalist community,
I have a problem with my time variable is recognized as a string when I do
Code:
xtset, halfyearly
I already tried to replace "S" by "h" and thought that would solve the problem.
Which time function is the best to decode my time variable and how to use it?

Code:
input float id str36 name str38 cpname str6 time double(AT_T L_T)
17 "Albania"                         "Austria"                "2016S2" 13629717.0968745
17 "Albania"                         "Austria"                "2017S1"  4011041.7791221
17 "Albania"                         "Austria"                "2017S2" 16851801.9322097