+WIND: 12, as far as I understand, is not an error, only an interrupt indication. I thought that can only be triggered by the external, physical INTR pins (this is what I see when I trigger those pins), but might be wrong.
Anyway, as for the time.h functions, they donβt work. rand() etc do work, but the time functions do not. I donβt know of a way to get them working (if anyone does that would be great), but you can use (on Q26β¦) the RTC API, which gives you unixtime and also some break-up options. If you want a standard formatted string, call AT+CCLK? and parse the response.