[fpc-pascal] Is TryStrToDate works wrong?
Michael Van Canneyt
michael at freepascal.org
Sat Jan 4 20:44:39 CET 2020
On Sat, 4 Jan 2020, Winfried Bartnick wrote:
> The result is true, but the date is nonsense:
> ShowMessage(BoolToStr(TryStrToDate('1',DT),True) + lineEnding +
> results in
> Not what I exspected.
But exactly what it is supposed to return. It fills missing numbers with the
current year/month. So, 1 jan 2020.
More information about the fpc-pascal