There is a nasty bug in windows. It holds my hands since TM under Delphi XE3 and never left me.
Sometimes the data is zero. The developer of TM (Delphi component) tried all to fix it, but could not do it.
It is Windows, which gives in very rare and absolutely unpredictable cases a zero-date or an empty date.
Nothing could catch it. No check for zero, no check for being empty, no validity, nor format attempts.
The moment you are ready for a new debug check, - it suddenly works again.
It is very rare and absolutely erratic. To my mind, it has something to do with the area or format specifications.
I tried many, many hours to work around, my old posts here show it.
I gave up. It is only every some weeks or even months. I click away the exception and try again.
