Hi Seb,
I never used popdtime() before... Your documentation confused me as it defined:-
void popdtime(dtime_t *dst, int size);
But I did a web search and found some non 4js documentation as:-
void popdtime(dtime_t *dst, int qual);
I'd interpreted size as size dtime_t, certainly not the size of the qualifier! I actually don't see what the 2nd argument is there for anyway... Isn't the datetimes qualifier stored in the dtime_t structure already, i.e. dtime_t.dt_qual?
Anyways when I set the 2nd argument to a valid qualifier (YEAR TO FRACTION) then my function works as expected.
Cheers,
David