Hi all,
I am a bit puzzled by the following example where I first convert a date
string into a timestamp before converting int back into a date string.
However, instead of getting returned "2005:01", gretl returns
"2004:12".
It seems that the strptime() function does some weird thing, as can be
checked here:
https://www.epochconverter.com/
But maybe I miss something fundamental here.
This is with latest git on ubuntu 19.04.
<hansl>
string init_obs = "01/2005"
scalar tstamp = strptime(init_obs, "%m/%Y")
eval strftime(tstamp, "%Y:%m") # returns '2004:12'
</hansl>
Best,
Artur