MxFromString invalid format. Unsupported character
I think it is getting confused exporting and then importing back the datetime() value. If instread of datetime() I use barindex(), then there is no message:
No. Again users instead of reading EXACTLY what I wrote, invent their own “interpretation”.
I wrote “DateTime is not a number”. I did not write anything else. I did not write that it can not be stored in matrix cell. So please do not come with your own interpretations. Your problem is because you are trying to FORMAT DateTime to string as if was a number. But datetime is not a number.
Your problem is because you are trying to FORMAT DateTime to string as if was a number.
You mean this line? m2 = MxFromString(s);
I don’t understand what I did wrong. Datetime values are suitable for matrix elements and I am using MxFromString to convert the matrix to string. The doc page https://www.amibroker.com/guide/afl/mxfromstring.html does not have any relevent warning.
Maybe some other knowledgebase article that I failed to read?