You are not logged in.
Pages: 1
Hi ab, I got problems with unexpected date behaviour.
SysUtils.TryEncodeDate(1776, 7, 4, d1);
SynCommons.TryEncodeDate(1776, 7, 4, d2);
CheckSame(d1 {-45103}, d2 {4294922193});
This also applies to Iso8601ToDateTimePUTF8CharVar conversion. An explicit type cast from Cardinal to Integer should fix it.
Offline
Oups....
Please try https://synopse.info/fossil/info/0050d762cc
Offline
Pages: 1