DatStr          = "20040101";
_TRACE("Datum  "+DatStr);
DatNum          = StrToNum(DatStr);
_TRACE("Datum  "+WriteVal(DatNum,0,False));

First Trace gives : 20040101 Day=01
But second gives  : 20040100 Day=00

No do the same with following string :
DatStr          = "20040102";

Both Traces give 20040102. Only when Day=01 I have the above
problem. Something wrong or what am I doing wrong ?
Please do not come with Date solutions. I know that ...

Regards, Ton.

Reply via email to